Automatically generated investigation container

ABSTRACT

A threat management facility calculates a composite threat score based on risk data from various sources, and automatically launches an investigation container for interactive threat investigation when the composite threat score meets a predetermined threshold.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a bypass continuation that claims priority toInternational Patent Application No. PCT/US22/30859 filed on May 25,2022, which claims priority to U.S. Provisional Pat. App. No. 63/254,368filed on Oct. 11, 2021, the entire content of which is herebyincorporated by reference herein.

FIELD

The present disclosure relates to the use of event streams forrecording, monitoring, and investigation of enterprise security.

BACKGROUND

As enterprise networks become more complex, and security threats becomemore sophisticated, there remains a need for improved techniques formonitoring security events and for identifying and investigatingpotential security threats within the enterprise network.

SUMMARY

A platform for network threat investigation is augmented with data fromcloud resources such as third-party, cloud-based application platforms.The resulting merged data set can be incrementally updated and used toautomatically launch investigations at appropriate times.

A threat management facility calculates a composite threat score basedon risk data from various sources, and automatically launches aninvestigation container for interactive threat investigation when thecomposite threat score meets a predetermined threshold.

In one aspect, a computer program product disclosed herein may includecomputer executable code embodied in a non-transitory computer readablemedium that, when executing on one or more computing devices, causes theone or more computing devices to perform the steps of: receiving, at athreat management facility, a local threat indication from a localsecurity agent executing on a compute instance, the local threatindication identifying a category of malicious activity associated withone or more events detected on the compute instance; receiving, at thethreat management facility, contextual threat data including at leastgeolocation data from a third-party service for a suspected threatdetected on the compute instance; calculating a contextual threat scorefor the compute instance based at least in part on the contextual threatdata; receiving cloud resource data based on an action associated withthe compute instance at a cloud service; determining a composite threatscore indicative of a threat risk for the compute instance based on atleast the local threat indication, the contextual threat score, and thecloud resource data; automatically creating an investigation containerfor investigating activity associated with the composite threat score inresponse to the composite threat score meeting a predeterminedthreshold, the investigation container associated with a user interfacedisplaying one or more threat scores based on the local threatindication, the contextual threat data, and the cloud resource data, theuser interface providing interactive access to supporting data for theone or more threat scores including one or more of the local threatindication, the contextual threat score, and the cloud resource data;and transmitting a notification with a link to the user interfaceassociated with the investigation container to a device associated witha security technician.

Implementations may include one or more of the following features. Thecomposite threat score may include a single score based on at least thelocal threat indication, the contextual threat data, and the cloudresource data. The composite threat score may include a number of scoreseach individually based on one of the local threat indication, thecontextual threat data, and the cloud resource data. The cloud servicemay include one or more of a web application, a cloud storage service,an electronic mail application, an authentication service, a zero trustnetwork access resource, a network monitor executing on a third-partyfirewall, a cloud computing service, and a virtualization platform. Thecomputer program product may further include code that, when executingon the one or more computing devices, causes the one or more computingdevices to perform the step of incrementally updating information in theinvestigation container as data from one or more of the computeinstance, the third-party service, and the cloud service becomesavailable.

In one aspect, a method disclosed herein may include: receiving localthreat data from a local security agent on a compute instance; receivingcontextual threat data for a local threat indication from a third-partyservice based on the local threat data received from the computeinstance; receiving cloud resource data based on an action associatedwith the compute instance at a cloud service; determining a compositethreat score for the compute instance based on at least the local threatdata, the contextual threat data, and the cloud resource data; andautomatically creating an investigation container for investigatingactivity associated with the composite threat score when the compositethreat score meets a predetermined threshold.

Implementations may include one or more of the following features. Themethod may further include displaying a user interface associated withthe investigation container on a device associated with a securitytechnician. The method may further include transmitting a notificationwith a link to a user interface associated with the investigationcontainer to a device associated with a security technician. The methodmay further include displaying the composite threat score in a userinterface associated with the investigation container. The method mayfurther include displaying the composite threat score in a notificationto a security technician. The method may further include displaying oneor more of the local threat indication, the contextual threat data, andthe cloud resource data in a user interface associated with theinvestigation container. The method may further include providinginteractive access in a user interface associated with the investigationcontainer, to supporting data for the composite threat score. The methodmay further include incrementally updating information in theinvestigation container as data is received from one or more of thecompute instance, the cloud service, and a third party service forgeolocation data. The method may further include incrementally updatingthe composite threat score as data becomes available from one or moreremote sources. The method may further include augmenting information inthe investigation container based on a history of responses by otherusers to a potential threat associated with the investigation container.The method may further include incrementally updating the compositethreat score based on an evaluation of the compute instance by a threatmanagement facility. The local threat data may include a local threatidentification for an event indicative of malicious activity on thecompute instance. The local threat data may include a threat detectionobtained by the local security agent by applying a detection rule basedon at least one of a malware signature and a behavior detected on thecompute instance. The local threat data may include a classificationindicating a category of malicious activity associated with eventsdetected on the compute instance.

In one aspect, a system disclosed herein may include: a plurality ofcompute instances associated with an enterprise network, and a threatmanagement facility for the enterprise network. The threat managementfacility may be configured to determine a composite threat score basedon: a local threat indication received from one of the computeinstances; cloud resource data based on an action taken at a cloudservice and associated with the one of the compute instances; acontextual score based on geolocation data received from a remotegeolocation service for a suspected threat associated with the localthreat indication; and an administrative console configured toautomatically display a user interface associated with an investigationcontainer when the composite threat score meets a predeterminedthreshold.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other objects, features, and advantages of thedevices, systems, and methods described herein will be apparent from thefollowing description of particular embodiments thereof, as illustratedin the accompanying drawings. The drawings are not necessarily to scale,emphasis instead being placed upon illustrating the principles of thedevices, systems, and methods described herein.

FIG. 1 depicts a block diagram of a threat management system.

FIG. 2 depicts a block diagram of a threat management system.

FIG. 3 shows a system for enterprise network threat detection.

FIG. 4 illustrates a threat management system.

FIG. 5 illustrates an event graph stored by a data recorder.

FIG. 6 depicts a Sensors, Events, Analytics, and Response (SEAR)environment.

FIG. 7 depicts centralized event collection.

FIG. 8 shows a flow chart of a method for computer augmented threatevaluation.

FIG. 9 shows a user interface for managing intermediate threats in anenterprise network.

FIG. 10 shows a user interface for managing intermediate threats in anenterprise network.

FIG. 11 shows a system for event monitoring and response.

FIG. 12 shows a flow chart of a method for dynamic filtering of endpointevent streams.

FIG. 13 shows a flow chart of a method for forensic query of local eventstreams in an enterprise network.

FIG. 14 shows a platform for managing data related to threat management.

FIG. 15 shows a method for creating a data lake for use in enterprisesecurity.

FIG. 16 shows a method for discovery of enterprise threats based onsecurity query activity.

FIG. 17 shows a method for augmenting data for use in threatinvestigation.

FIG. 18 shows an augmented threat investigation system.

FIG. 19 shows an architecture for obtaining security data from a thirdparty service.

FIG. 20 shows an architecture for obtaining security data from a cloudservice.

FIG. 21 illustrates a method for threat detection using an attack matrixand data lake queries.

FIG. 22A illustrates a first portion of an attack matrix.

FIG. 22B illustrates a second portion of an attack matrix.

FIG. 23 is a flow chart of a method for streaming and filtering eventobjects into a data lake.

FIG. 24 is a flow chart of a method for augmenting threat investigation.

FIG. 25 is a flow chart of a method for security integration with cloudservices.

FIG. 26 shows a user interface for investigating threats.

FIG. 27 is a flow chart of a method for using an automatically generatedinvestigation container.

FIG. 28 is a flow chart of a method for incremental enrichment of threatdata.

DESCRIPTION

Embodiments will now be described with reference to the accompanyingfigures. The foregoing may, however, be embodied in many different formsand should not be construed as limited to the illustrated embodimentsset forth herein.

All documents mentioned herein are hereby incorporated by reference intheir entirety. References to items in the singular should be understoodto include items in the plural, and vice versa, unless explicitly statedotherwise or clear from the text. Grammatical conjunctions are intendedto express any and all disjunctive and conjunctive combinations ofconjoined clauses, sentences, words, and the like, unless otherwisestated or clear from the context. Thus, the term “or” should generallybe understood to mean “and/or” and so forth.

Recitation of ranges of values herein are not intended to be limiting,referring instead individually to any and all values falling within therange, unless otherwise indicated herein, and each separate value withinsuch a range is incorporated into the specification as if it wereindividually recited herein. The words “about,” “approximately” or thelike, when accompanying a numerical value, are to be construed asindicating a deviation as would be appreciated by one of ordinary skillin the art to operate satisfactorily for an intended purpose. Similarly,words of approximation such as “approximately” or “substantially” whenused in reference to physical characteristics, should be understood tocontemplate a range of deviations that would be appreciated by one ofordinary skill in the art to operate satisfactorily for a correspondinguse, function, purpose, or the like. Ranges of values and/or numericvalues are provided herein as examples only, and do not constitute alimitation on the scope of the described embodiments. Where ranges ofvalues are provided, they are also intended to include each value withinthe range as if set forth individually, unless expressly stated to thecontrary. The use of any and all examples, or exemplary language(“e.g.,” “such as,” or the like) provided herein, is intended merely tobetter illuminate the embodiments and does not pose a limitation on thescope of the embodiments. No language in the specification should beconstrued as indicating any unclaimed element as essential to thepractice of the embodiments.

In the following description, it is understood that terms such as“first,” “second,” “top,” “bottom,” “up,” “down,” and the like, arewords of convenience and are not to be construed as limiting terms.

It should also be understood that endpoints, devices, compute instances,or the like that are referred to as “within” an enterprise network mayalso be “associated with” the enterprise network, e.g., where suchassets are outside an enterprise gateway but nonetheless managed by orin communication with a threat management facility or other centralizedsecurity platform for the enterprise network. Thus, any descriptionreferring to an asset within the enterprise network should be understoodto contemplate a similar asset associated with the enterprise networkregardless of location in a network environment unless a differentmeaning is explicitly provided or otherwise clear from the context.

As described herein, a threat management system may use a Sensor,Events, Analytics, and Response (SEAR) approach to protect enterprisesagainst cybersecurity threats.

FIG. 1 depicts a block diagram of a threat management system 101providing protection against a plurality of threats, such as malware,viruses, spyware, cryptoware, adware, Trojans, spam, intrusion, policyabuse, improper configuration, vulnerabilities, improper access,uncontrolled access, and more. A threat management facility 100 maycommunicate with, coordinate, and control operation of securityfunctionality at different control points, layers, and levels within thesystem 101. A number of capabilities may be provided by a threatmanagement facility 100, with an overall goal to intelligently use thebreadth and depth of information that is available about the operationand activity of compute instances and networks as well as a variety ofavailable controls. Another overall goal is to provide protection neededby an organization that is dynamic and able to adapt to changes incompute instances and new threats. In embodiments, the threat managementfacility 100 may provide protection from a variety of threats to avariety of compute instances in a variety of locations and networkconfigurations.

Just as one example, users of the threat management facility 100 maydefine and enforce policies that control access to and use of computeinstances, networks and data. Administrators may update policies such asby designating authorized users and conditions for use and access. Thethreat management facility 100 may update and enforce those policies atvarious levels of control that are available, such as by directingcompute instances to control the network traffic that is allowed totraverse firewalls and wireless access points, applications and dataavailable from servers, applications and data permitted to be accessedby endpoints, and network resources and data permitted to be run andused by endpoints. The threat management facility 100 may provide manydifferent services, and policy management may be offered as one of theservices.

Turning to a description of certain capabilities and components of thethreat management system 101, an exemplary enterprise facility 102 maybe or may include any networked computer-based infrastructure. Forexample, the enterprise facility 102 may be corporate, commercial,organizational, educational, governmental, or the like. As home networksget more complicated, and include more compute instances at home and inthe cloud, an enterprise facility 102 may also or instead include apersonal network such as a home or a group of homes. The enterprisefacility's 102 computer network may be distributed amongst a pluralityof physical premises such as buildings on a campus, and located in oneor in a plurality of geographical locations. The configuration of theenterprise facility as shown is merely exemplary, and it will beunderstood that there may be any number of compute instances, less ormore of each type of compute instances, and other types of computeinstances. As shown, the exemplary enterprise facility includes afirewall 10, a wireless access point 11, an endpoint 12, a server 14, amobile device 16, an appliance or IOT device 18, a cloud computinginstance 19, and a server 20. Again, the compute instances 10-20depicted are exemplary, and there may be any number or types of computeinstances 10-20 in a given enterprise facility. For example, in additionto the elements depicted in the enterprise facility 102, there may beone or more gateways, bridges, wired networks, wireless networks,virtual private networks, other compute instances, and so on.

The threat management facility 100 may include certain facilities, suchas a policy management facility 112, security management facility 122,update facility 120, definitions facility 114, network access rulesfacility 124, remedial action facility 128, detection techniquesfacility 130, application protection facility 150, asset classificationfacility 160, entity model facility 162, event collection facility 164,event logging facility 166, analytics facility 168, dynamic policiesfacility 170, identity management facility 172, and marketplacemanagement facility 174, as well as other facilities. For example, theremay be a testing facility, a threat research facility, and otherfacilities. It should be understood that the threat management facility100 may be implemented in whole or in part on a number of differentcompute instances, with some parts of the threat management facility ondifferent compute instances in different locations. For example, some orall of one or more of the various facilities 100, 112-174 may beprovided as part of a security agent S that is included in softwarerunning on a compute instance 10-26 within the enterprise facility. Someor all of one or more of the facilities 100, 112-174 may be provided onthe same physical hardware or logical resource as a gateway, such as afirewall 10, or wireless access point 11. Some or all of one or more ofthe facilities may be provided on one or more cloud servers that areoperated by the enterprise or by a security service provider, such asthe cloud computing instance 109.

In embodiments, a marketplace provider 199 may make available one ormore additional facilities to the enterprise facility 102 via the threatmanagement facility 100. The marketplace provider may communicate withthe threat management facility 100 via the marketplace interfacefacility 174 to provide additional functionality or capabilities to thethreat management facility 100 and compute instances 10-26. Asnon-limiting examples, the marketplace provider 199 may be a third-partyinformation provider, such as a physical security event provider; themarketplace provider 199 may be a system provider, such as a humanresources system provider or a fraud detection system provider; themarketplace provider may be a specialized analytics provider; and so on.The marketplace provider 199, with appropriate permissions andauthorization, may receive and send events, observations, inferences,controls, convictions, policy violations, or other information to thethreat management facility. For example, the marketplace provider 199may subscribe to and receive certain events, and in response, based onthe received events and other events available to the marketplaceprovider 199, send inferences to the marketplace interface, and in turnto the analytics facility 168, which in turn may be used by the securitymanagement facility 122.

The identity provider 158 may be any remote identity management systemor the like configured to communicate with an identity managementfacility 172, e.g., to confirm identity of a user as well as provide orreceive other information about users that may be useful to protectagainst threats. In general, the identity provider may be any system orentity that creates, maintains, and manages identity information forprincipals while providing authentication services to relying partyapplications, e.g., within a federation or distributed network. Theidentity provider may, for example, offer user authentication as aservice, where other applications, such as web applications, outsourcethe user authentication step to a trusted identity provider.

In embodiments, the identity provider 158 may provide user identityinformation, such as multi-factor authentication, to a SaaS application.Centralized identity providers such as Microsoft Azure, may be used byan enterprise facility instead of maintaining separate identityinformation for each application or group of applications, and as acentralized point for integrating multifactor authentication. Inembodiments, the identity management facility 172 may communicatehygiene, or security risk information, to the identity provider 158. Theidentity management facility 172 may determine a threat score for a userbased on the events, observations, and inferences about that user andthe compute instances associated with the user. If a user is perceivedas risky, the identity management facility 172 can inform the identityprovider 158, and the identity provider 158 may take steps to addressthe potential risk, such as to confirm the identity of the user, confirmthat the user has approved the SaaS application access, remediate theuser's system, or such other steps as may be useful.

In embodiments, threat protection provided by the threat managementfacility 100 may extend beyond the network boundaries of the enterprisefacility 102 to include clients (or client facilities) such as anendpoint 22 outside the enterprise facility 102, a mobile device 26, acloud computing instance 109, or any other devices, services or the likethat use network connectivity not directly associated with or controlledby the enterprise facility 102, such as a mobile network, a public cloudnetwork, or a wireless network at a hotel or coffee shop. While threatsmay come from a variety of sources, such as from network threats,physical proximity threats, secondary location threats, the computeinstances 10-26 may be protected from threats even when a computeinstance 10-26 is not connected to the enterprise facility 102 network,such as when compute instances 22, 26 use a network that is outside ofthe enterprise facility 102 and separated from the enterprise facility102, e.g., by a gateway, a public network, and so forth.

In some implementations, compute instances 10-26 may communicate withcloud applications, such as a SaaS application 156. The SaaS application156 may be an application that is used by but not operated by theenterprise facility 102. Exemplary commercially available SaaSapplications 156 include Salesforce, Amazon Web Services (AWS)applications, Google Apps applications, Microsoft Office 365applications and so on. A given SaaS application 156 may communicatewith an identity provider 158 to verify user identity consistent withthe requirements of the enterprise facility 102. The compute instances10-26 may communicate with an unprotected server (not shown) such as aweb site or a third-party application through an internetwork 154 suchas the Internet or any other public network, private network, orcombination of these.

In embodiments, aspects of the threat management facility 100 may beprovided as a stand-alone solution. In other embodiments, aspects of thethreat management facility 100 may be integrated into a third-partyproduct. An application programming interface (e.g., a source codeinterface) may be provided such that aspects of the threat managementfacility 100 may be integrated into or used by or with otherapplications. For instance, the threat management facility 100 may bestand-alone in that it provides direct threat protection to anenterprise or computer resource, where protection is subscribed todirectly 100. Alternatively, the threat management facility may offerprotection indirectly, through a third-party product, where anenterprise may subscribe to services through the third-party product,and threat protection to the enterprise may be provided by the threatmanagement facility 100 through the third-party product.

The security management facility 122 may provide protection from avariety of threats by providing, as non-limiting examples, endpointsecurity and control, email security and control, web security andcontrol, reputation-based filtering, machine learning classification,control of unauthorized users, control of guest and non-compliantcomputers, and more.

The security management facility 122 may provide malicious codeprotection to a compute instance. The security management facility 122may include functionality to scan applications, files, and data formalicious code, remove or quarantine applications and files, preventcertain actions, perform remedial actions, as well as other securitymeasures. Scanning may use any of a variety of techniques, includingwithout limitation signatures, identities, classifiers, and othersuitable scanning techniques. In embodiments, the scanning may includescanning some or all files on a periodic basis, scanning an applicationwhen the application is executed, scanning data transmitted to or from adevice, scanning in response to predetermined actions or combinations ofactions, and so forth. The scanning of applications, files, and data maybe performed to detect known or unknown malicious code or unwantedapplications. Aspects of the malicious code protection may be provided,for example, in the security agent of an endpoint 12, in a wirelessaccess point 11 or firewall 10, as part of application protection 150provided by the cloud, and so on.

In an embodiment, the security management facility 122 may provide foremail security and control, for example to target spam, viruses,spyware, and phishing, to control email content, and the like. Emailsecurity and control may protect against inbound and outbound threats,protect email infrastructure, prevent data leakage, provide spamfiltering, and more. Aspects of the email security and control may beprovided, for example, in the security agent of an endpoint 12, in awireless access point 11 or firewall 10, as part of applicationprotection 150 provided by the cloud, and so on.

In an embodiment, security management facility 122 may provide for websecurity and control, for example, to detect or block viruses, spyware,malware, unwanted applications, help control web browsing, and the like,which may provide comprehensive web access control enabling safe,productive web browsing. Web security and control may provide Internetuse policies, reporting on suspect compute instances, security andcontent filtering, active monitoring of network traffic, URI filtering,and the like. Aspects of the web security and control may be provided,for example, in the security agent of an endpoint 12, in a wirelessaccess point 11 or firewall 10, as part of application protection 150provided by the cloud, and so on.

In an embodiment, the security management facility 122 may provide fornetwork access control, which generally controls access to and use ofnetwork connections. Network control may stop unauthorized, guest, ornon-compliant systems from accessing networks, and may control networktraffic that is not otherwise controlled at the client level. Inaddition, network access control may control access to virtual privatenetworks (VPN), where VPNs may, for example, include communicationsnetworks tunneled through other networks and establishing logicalconnections acting as virtual networks. In embodiments, a VPN may betreated in the same manner as a physical network. Aspects of networkaccess control may be provided, for example, in the security agent of anendpoint 12, in a wireless access point 11 or firewall 10, as part ofapplication protection 150 provided by the cloud, e.g., from the threatmanagement facility 100 or other network resource(s).

In an embodiment, the security management facility 122 may provide forhost intrusion prevention through behavioral monitoring and/or runtimemonitoring, which may guard against unknown threats by analyzingapplication behavior before or as an application runs. This may includemonitoring code behavior, application programming interface calls madeto libraries or to the operating system, or otherwise monitoringapplication activities. Monitored activities may include, for example,reading and writing to memory, reading and writing to disk, networkcommunication, process interaction, and so on. Behavior and runtimemonitoring may intervene if code is deemed to be acting in a manner thatis suspicious or malicious. Aspects of behavior and runtime monitoringmay be provided, for example, in the security agent of an endpoint 12,in a wireless access point 11 or firewall 10, as part of applicationprotection 150 provided by the cloud, and so on.

In an embodiment, the security management facility 122 may provide forreputation filtering, which may target or identify sources of knownmalware. For instance, reputation filtering may include lists of URIs ofknown sources of malware or known suspicious IP addresses, code authors,code signers, or domains, that when detected may invoke an action by thethreat management facility 100. Based on reputation, potential threatsources may be blocked, quarantined, restricted, monitored, or somecombination of these, before an exchange of data can be made. Aspects ofreputation filtering may be provided, for example, in the security agentof an endpoint 12, in a wireless access point 11 or firewall 10, as partof application protection 150 provided by the cloud, and so on. Inembodiments, some reputation information may be stored on a computeinstance 10-26, and other reputation data available through cloudlookups to an application protection lookup database, such as may beprovided by application protection 150.

In embodiments, information may be sent from the enterprise facility 102to a third party, such as a security vendor, or the like, which may leadto improved performance of the threat management facility 100. Ingeneral, feedback may be useful for any aspect of threat detection. Forexample, the types, times, and number of virus interactions that anenterprise facility 102 experiences may provide useful information forthe preventions of future virus threats. Feedback may also be associatedwith behaviors of individuals within the enterprise, such as beingassociated with most common violations of policy, network access,unauthorized application loading, unauthorized external device use, andthe like. In embodiments, feedback may enable the evaluation orprofiling of client actions that are violations of policy that mayprovide a predictive model for the improvement of enterprise policies.

An update management facility 120 may provide control over when updatesare performed. The updates may be automatically transmitted, manuallytransmitted, or some combination of these. Updates may include software,definitions, reputations or other code or data that may be useful to thevarious facilities. For example, the update facility 120 may managereceiving updates from a provider, distribution of updates to enterprisefacility 102 networks and compute instances, or the like. Inembodiments, updates may be provided to the enterprise facility's 102network, where one or more compute instances on the enterprisefacility's 102 network may distribute updates to other computeinstances.

The threat management facility 100 may include a policy managementfacility 112 that manages rules or policies for the enterprise facility102. Exemplary rules include access permissions associated withnetworks, applications, compute instances, users, content, data, and thelike. The policy management facility 112 may use a database, a textfile, other data store, or a combination to store policies. In anembodiment, a policy database may include a block list, a black list, anallowed list, a white list, and more. As a few non-limiting examples,policies may include a list of enterprise facility 102 external networklocations/applications that may or may not be accessed by computeinstances, a list of types/classifications of network locations orapplications that may or may not be accessed by compute instances, andcontextual rules to evaluate whether the lists apply. For example, theremay be a rule that does not permit access to sporting websites. When awebsite is requested by the client facility, a security managementfacility 122 may access the rules within a policy facility to determineif the requested access is related to a sporting website.

The policy management facility 112 may include access rules and policiesthat are distributed to maintain control of access by the computeinstances 10-26 to network resources. Exemplary policies may be definedfor an enterprise facility, application type, subset of applicationcapabilities, organization hierarchy, compute instance type, user type,network location, time of day, connection type, or any other suitabledefinition. Policies may be maintained through the threat managementfacility 100, in association with a third party, or the like. Forexample, a policy may restrict instant messaging (IM) activity bylimiting such activity to support personnel when communicating withcustomers. More generally, this may allow communication for departmentsas necessary or helpful for department functions, but may otherwisepreserve network bandwidth for other activities by restricting the useof IM to personnel that need access for a specific purpose. In anembodiment, the policy management facility 112 may be a stand-aloneapplication, may be part of the network server facility 142, may be partof the enterprise facility 102 network, may be part of the clientfacility, or any suitable combination of these.

The policy management facility 112 may include dynamic policies that usecontextual or other information to make security decisions. As describedherein, the dynamic policies facility 170 may generate policiesdynamically based on observations and inferences made by the analyticsfacility. The dynamic policies generated by the dynamic policy facility170 may be provided by the policy management facility 112 to thesecurity management facility 122 for enforcement.

In embodiments, the threat management facility 100 may provideconfiguration management as an aspect of the policy management facility112, the security management facility 122, or some combination.Configuration management may define acceptable or requiredconfigurations for the compute instances 10-26, applications, operatingsystems, hardware, or other assets, and manage changes to theseconfigurations. Assessment of a configuration may be made againststandard configuration policies, detection of configuration changes,remediation of improper configurations, application of newconfigurations, and so on. An enterprise facility may have a set ofstandard configuration rules and policies for particular computeinstances which may represent a desired state of the compute instance.For example, on a given compute instance 12, 14, 18, a version of aclient firewall may be required to be running and installed. If therequired version is installed but in a disabled state, the policyviolation may prevent access to data or network resources. A remediationmay be to enable the firewall. In another example, a configurationpolicy may disallow the use of USB disks, and policy management 112 mayrequire a configuration that turns off USB drive access via a registrykey of a compute instance. Aspects of configuration management may beprovided, for example, in the security agent of an endpoint 12, in awireless access point 11 or firewall 10, as part of applicationprotection 150 provided by the cloud, or any combination of these.

In embodiments, the threat management facility 100 may also provide forthe isolation or removal of certain applications that are not desired ormay interfere with the operation of a compute instance 10-26 or thethreat management facility 100, even if such application is not malwareper se. The operation of such products may be considered a configurationviolation. The removal of such products may be initiated automaticallywhenever such products are detected, or access to data and networkresources may be restricted when they are installed and running. In thecase where such applications are services which are provided indirectlythrough a third-party product, the applicable application or processesmay be suspended until action is taken to remove or disable thethird-party product.

The policy management facility 112 may also require update management(e.g., as provided by the update facility 120). Update management forthe security facility 122 and policy management facility 112 may beprovided directly by the threat management facility 100, or, forexample, by a hosted system. In embodiments, the threat managementfacility 100 may also provide for patch management, where a patch may bean update to an operating system, an application, a system tool, or thelike, where one of the reasons for the patch is to reduce vulnerabilityto threats.

In embodiments, the security facility 122 and policy management facility112 may push information to the enterprise facility 102 network and/orthe compute instances 10-26, the enterprise facility 102 network and/orcompute instances 10-26 may pull information from the security facility122 and policy management facility 112, or there may be a combination ofpushing and pulling of information. For example, the enterprise facility102 network and/or compute instances 10-26 may pull update informationfrom the security facility 122 and policy management facility 112 viathe update facility 120, an update request may be based on a timeperiod, by a certain time, by a date, on demand, or the like. In anotherexample, the security facility 122 and policy management facility 112may push the information to the enterprise facility's 102 network and/orcompute instances 10-26 by providing notification that there are updatesavailable for download and/or transmitting the information. In anembodiment, the policy management facility 112 and the security facility122 may work in concert with the update management facility 120 toprovide information to the enterprise facility's 102 network and/orcompute instances 10-26. In various embodiments, policy updates,security updates and other updates may be provided by the same ordifferent modules, which may be the same or separate from a securityagent running on one of the compute instances 10-26.

As threats are identified and characterized, the definition facility 114of the threat management facility 100 may manage definitions used todetect and remediate threats. For example, identity definitions may beused for scanning files, applications, data streams, etc. for thedetermination of malicious code. Identity definitions may includeinstructions and data that can be parsed and acted upon for recognizingfeatures of known or potentially malicious code. Definitions also mayinclude, for example, code or data to be used in a classifier, such as aneural network or other classifier that may be trained using machinelearning. Updated code or data may be used by the classifier to classifythreats. In embodiments, the threat management facility 100 and thecompute instances 10-26 may be provided with new definitionsperiodically to include most recent threats. Updating of definitions maybe managed by the update facility 120, and may be performed upon requestfrom one of the compute instances 10-26, upon a push, or somecombination. Updates may be performed upon a time period, on demand froma device 10-26, upon determination of an important new definition or anumber of definitions, and so on.

A threat research facility (not shown) may provide a continuouslyongoing effort to maintain the threat protection capabilities of thethreat management facility 100 in light of continuous generation of newor evolved forms of malware. Threat research may be provided byresearchers and analysts working on known threats, in the form ofpolicies, definitions, remedial actions, and so on.

The security management facility 122 may scan an outgoing file andverify that the outgoing file is permitted to be transmitted accordingto policies. By checking outgoing files, the security managementfacility 122 may be able discover threats that were not detected on oneof the compute instances 10-26, or policy violation, such transmittal ofinformation that should not be communicated unencrypted.

The threat management facility 100 may control access to the enterprisefacility 102 networks. A network access facility 124 may restrict accessto certain applications, networks, files, printers, servers, databases,and so on. In addition, the network access facility 124 may restrictuser access under certain conditions, such as the user's location, usagehistory, need to know, job position, connection type, time of day,method of authentication, client-system configuration, or the like.Network access policies may be provided by the policy managementfacility 112, and may be developed by the enterprise facility 102, orpre-packaged by a supplier. Network access facility 124 may determine ifa given compute instance 10-22 should be granted access to a requestednetwork location, e.g., inside or outside of the enterprise facility102. Network access facility 124 may determine if a compute instance 22,26 such as a device outside the enterprise facility 102 may access theenterprise facility 102. For example, in some cases, the policies mayrequire that when certain policy violations are detected, certainnetwork access is denied. The network access facility 124 maycommunicate remedial actions that are necessary or helpful to bring adevice back into compliance with policy as described below with respectto the remedial action facility 128. Aspects of the network accessfacility 124 may be provided, for example, in the security agent of theendpoint 12, in a wireless access point 11, in a firewall 10, as part ofapplication protection 150 provided by the cloud, and so on.

In an embodiment, the network access facility 124 may have access topolicies that include one or more of a block list, a black list, anallowed list, a white list, an unacceptable network site database, anacceptable network site database, a network site reputation database, orthe like of network access locations that may or may not be accessed bythe client facility. Additionally, the network access facility 124 mayuse rule evaluation to parse network access requests and apply policies.The network access rule facility 124 may have a generic set of policiesfor all compute instances, such as denying access to certain types ofwebsites, controlling instant messenger accesses, or the like. Ruleevaluation may include regular expression rule evaluation, or other ruleevaluation method(s) for interpreting the network access request andcomparing the interpretation to established rules for network access.Classifiers may be used, such as neural network classifiers or otherclassifiers that may be trained by machine learning.

The threat management facility 100 may include an asset classificationfacility 160. The asset classification facility will discover the assetspresent in the enterprise facility 102. A compute instance such as anyof the compute instances 10-26 described herein may be characterized asa stack of assets. The one level asset is an item of physical hardware.The compute instance may be, or may be implemented on physical hardware,and may have or may not have a hypervisor, or may be an asset managed bya hypervisor. The compute instance may have an operating system (e.g.,Windows, MacOS, Linux, Android, iOS). The compute instance may have oneor more layers of containers. The compute instance may have one or moreapplications, which may be native applications, e.g., for a physicalasset or virtual machine, or running in containers within a computingenvironment on a physical asset or virtual machine, and thoseapplications may link libraries or other code or the like, e.g., for auser interface, cryptography, communications, device drivers,mathematical or analytical functions and so forth. The stack may alsointeract with data. The stack may also or instead interact with users,and so users may be considered assets.

The threat management facility may include entity models 162. The entitymodels may be used, for example, to determine the events that aregenerated by assets. For example, some operating systems may provideuseful information for detecting or identifying events. For examples,operating systems may provide process and usage information thataccessed through an API. As another example, it may be possible toinstrument certain containers to monitor the activity of applicationsrunning on them. As another example, entity models for users may defineroles, groups, permitted activities and other attributes.

The event collection facility 164 may be used to collect events from anyof a wide variety of sensors that may provide relevant events from anasset, such as sensors on any of the compute instances 10-26, theapplication protection facility 150, a cloud computing instance 109 andso on. The events that may be collected may be determined by the entitymodels. There may be a variety of events collected. Events may include,for example, events generated by the enterprise facility 102 or thecompute instances 10-26, such as by monitoring streaming data through agateway such as firewall 10 and wireless access point 11, monitoringactivity of compute instances, monitoring stored files/data on thecompute instances 10-26 such as desktop computers, laptop computers,other mobile computing devices, and cloud computing instances 19, 109.Events may range in granularity. An exemplary event may be communicationof a specific packet over the network. Another exemplary event may beidentification of an application that is communicating over a network.

The event logging facility 166 may be used to store events collected bythe event collection facility 164. The event logging facility 166 maystore collected events so that they can be accessed and analyzed by theanalytics facility 168. Some events may be collected locally, and someevents may be communicated to an event store in a central location orcloud facility. Events may be logged in any suitable format.

Events collected by the event logging facility 166 may be used by theanalytics facility 168 to make inferences and observations about theevents. These observations and inferences may be used as part ofpolicies enforced by the security management facility Observations orinferences about events may also be logged by the event logging facility166.

When a threat or other policy violation is detected by the securitymanagement facility 122, the remedial action facility 128 may be used toremediate the threat. Remedial action may take a variety of forms,non-limiting examples including collecting additional data about thethreat, terminating or modifying an ongoing process or interaction,sending a warning to a user or administrator, downloading a data filewith commands, definitions, instructions, or the like to remediate thethreat, requesting additional information from the requesting device,such as the application that initiated the activity of interest,executing a program or application to remediate against a threat orviolation, increasing telemetry or recording interactions for subsequentevaluation, (continuing to) block requests to a particular networklocation or locations, scanning a requesting application or device,quarantine of a requesting application or the device, isolation of therequesting application or the device, deployment of a sandbox, blockingaccess to resources, e.g., a USB port, or other remedial actions. Moregenerally, the remedial action facility 122 may take any steps or deployany measures suitable for addressing a detection of a threat, potentialthreat, policy violation or other event, code or activity that mightcompromise security of a computing instance 10-26 or the enterprisefacility 102.

FIG. 2 depicts a block diagram of a threat management system 201 such asany of the threat management systems described herein, and including acloud enterprise facility 280. The cloud enterprise facility 280 mayinclude servers 284, 286, and a firewall 282. The servers 284, 286 onthe cloud enterprise facility 280 may run one or more enterpriseapplications and make them available to the enterprise facilities 102compute instances 10-26. It should be understood that there may be anynumber of servers 284, 286 and firewalls 282, as well as other computeinstances in a given cloud enterprise facility 280. It also should beunderstood that a given enterprise facility may use both SaaSapplications 156 and cloud enterprise facilities 280, or, for example, aSaaS application 156 may be deployed on a cloud enterprise facility 280.As such, the configurations in FIG. 1 and FIG. 2 are shown by way ofexamples and not exclusive alternatives.

FIG. 3 shows a system 300 for enterprise network threat detection. Thesystem 300 may use any of the various tools and techniques for threatmanagement contemplated herein. In the system, a number of endpointssuch as the endpoint 302 may log events in a data recorder 304. A localagent on the endpoint 302 such as the security agent 306 may filter thisdata and feeds a filtered data stream to a threat management facility308 such as a central threat management facility or any of the otherthreat management facilities described herein. The threat managementfacility 308 can locally or globally tune filtering by local agentsbased on the current data stream, and can query local event datarecorders for additional information where necessary or helpful inthreat detection or forensic analysis. The threat management facility308 may also or instead store and deploys a number of security toolssuch as a web-based user interface that is supported by machine learningmodels to aid in the identification and assessment of potential threatsby a human user. This may, for example, include machine learninganalysis of new code samples, models to provide human-readable contextfor evaluating potential threats, and any of the other tools ortechniques described herein. More generally, the threat managementfacility 308 may provide any of a variety of threat management tools 316to aid in the detection, evaluation, and remediation of threats orpotential threats.

The threat management facility 308 may perform a range of threatmanagement functions such as any of those described herein. The threatmanagement facility 308 may generally include an application programminginterface 310 to third party services 320, a user interface 312 foraccess to threat management and network administration functions, and anumber of threat detection tools 314.

In general, the application programming interface 310 may supportprogrammatic connections with third party services 320. The applicationprogramming interface 310 may, for example, connect to Active Directoryor other customer information about files, data storage, identities anduser profiles, roles, access privileges and so forth. More generally theapplication programming interface 310 may provide a programmaticinterface for customer or other third party context, information,administration and security tools, and so forth. The applicationprogramming interface 310 may also or instead provide a programmaticinterface for hosted applications, identity provider integration toolsor services, and so forth.

The user interface 312 may include a website or other graphicalinterface or the like, and may generally provide an interface for userinteraction with the threat management facility 308, e.g., for threatdetection, network administration, audit, configuration and so forth.This user interface 312 may generally facilitate human curation ofintermediate threats as contemplated herein, e.g., by presentingintermediate threats along with other supplemental information, andproviding controls for user to dispose of such intermediate threats asdesired, e.g., by permitting execution or access, by denying executionor access, or by engaging in remedial measures such as sandboxing,quarantining, vaccinating, and so forth.

The threat detection tools 314 may be any of the threat detection tools,algorithms, techniques or the like described herein, or any other toolsor the like useful for detecting threats or potential threats within anenterprise network. This may, for example, include signature basedtools, behavioral tools, machine learning models, and so forth. Ingeneral, the threat detection tools 314 may use event data provided byendpoints within the enterprise network, as well as any other availablecontext such as network activity, heartbeats, and so forth to detectmalicious software or potentially unsafe conditions for a network orendpoints connected to the network. In one aspect, the threat detectiontools 314 may usefully integrate event data from a number of endpoints(including, e.g., network components such as gateways, routers, andfirewalls) for improved threat detection in the context of complex ordistributed threats. The threat detection tools 314 may also or insteadinclude tools for reporting to a separate modeling and analysis platform318, e.g., to support further investigation of security issues, creationor refinement of threat detection models or algorithms, review andanalysis of security breaches, and so forth.

The threat management tools 316 may generally be used to manage orremediate threats to the enterprise network that have been identifiedwith the threat detection tools 314 or otherwise. Threat managementtools 316 may, for example, include tools for sandboxing, quarantining,removing, or otherwise remediating or managing malicious code ormalicious activity, e.g., using any of the techniques described herein.

The endpoint 302 may be any of the endpoints or other compute instancesor the like described herein. This may, for example, include end-usercomputing devices, mobile devices, firewalls, gateways, servers, routersand any other computing devices or instances that might connect to anenterprise network. As described above, the endpoint 302 may generallyinclude a security agent 306 that locally supports threat management onthe endpoint 302, such as by monitoring for malicious activity, managingsecurity components on the endpoint 302, maintaining policy compliance,and communicating with the threat management facility 308 to supportintegrated security protection as contemplated herein. The securityagent 306 may, for example, coordinate instrumentation of the endpoint302 to detect various event types involving various computing objects onthe endpoint 302, and supervise logging of events in a data recorder304. The security agent 306 may also or instead scan computing objectssuch as electronic communications or files, monitor behavior ofcomputing objects such as executables, and so forth. The security agent306 may, for example, apply signature-based or behavioral threatdetection techniques, machine learning models (e.g., models developed bythe modeling and analysis platform), or any other tools or the likesuitable for detecting malware or potential malware on the endpoint 302.

The data recorder 304 may log events occurring on or related to theendpoint. This may, for example, include events associated withcomputing objects on the endpoint 302 such as file manipulations,software installations, and so forth. This may also or instead includeactivities directed from the endpoint 302, such as requests for contentfrom Uniform Resource Locators or other network activity involvingremote resources. The data recorder 304 may record data at any frequencyand any level of granularity consistent with proper operation of theendpoint 302 in an intended or desired manner.

The endpoint 302 may include a filter 322 to manage a flow ofinformation from the data recorder 304 to a remote resource such as thethreat detection tools 314 of the threat management facility 308. Inthis manner, a detailed log of events may be maintained locally on eachendpoint, while network resources can be conserved for reporting of afiltered event stream that contains information believed to be mostrelevant to threat detection. The filter 322 may also or instead beconfigured to report causal information that causally relatescollections of events to one another. In general, the filter 322 may beconfigurable so that, for example, the threat management facility 308can increase or decrease the level of reporting based on a currentsecurity status of the endpoint, a group of endpoints, the enterprisenetwork, and the like. The level of reporting may also or instead bebased on currently available network and computing resources, or anyother appropriate context.

In another aspect, the endpoint 302 may include a query interface 324 sothat remote resources such as the threat management facility 308 canquery the data recorder 304 remotely for additional information. Thismay include a request for specific events, activity for specificcomputing objects, or events over a specific time frame, or somecombination of these. Thus, for example, the threat management facility308 may request all changes to the registry of system information forthe past forty eight hours, all files opened by system processes in thepast day, all network connections or network communications within thepast hour, or any other parametrized request for activities monitored bythe data recorder 304. In another aspect, the entire data log, or theentire log over some predetermined window of time, may be request forfurther analysis at a remote resource.

It will be appreciated that communications among third party services320, a threat management facility 308, and one or more endpoints such asthe endpoint 302 may be facilitated by using consistent namingconventions across products and machines. For example, the system 300may usefully implement globally unique device identifiers, useridentifiers, application identifiers, data identifiers, Uniform ResourceLocators, network flows, and files. The system may also or instead usetuples to uniquely identify communications or network connections basedon, e.g., source and destination addresses and so forth.

According to the foregoing, a system disclosed herein includes anenterprise network, and endpoint coupled to the enterprise network, anda threat management facility coupled in a communicating relationshipwith the endpoint and a plurality of other endpoints through theenterprise network. The endpoint may have a data recorder that stores anevent stream of event data for computing objects, a filter for creatinga filtered event stream with a subset of event data from the eventstream, and a query interface for receiving queries to the data recorderfrom a remote resource, the endpoint further including a local securityagent configured to detect malware on the endpoint based on event datastored by the data recorder, and further configured to communicate thefiltered event stream over the enterprise network. The threat managementfacility may be configured to receive the filtered event stream from theendpoint, detect malware on the endpoint based on the filtered eventstream, and remediate the endpoint when malware is detected, the threatmanagement facility further configured to modify security functionswithin the enterprise network based on a security state of the endpoint.

The threat management facility may be configured to adjust reporting ofevent data through the filter in response to a change in the filteredevent stream received from the endpoint. The threat management facilitymay be configured to adjust reporting of event data through the filterwhen the filtered event stream indicates a compromised security state ofthe endpoint. The threat management facility may be configured to adjustreporting of event data from one or more other endpoints in response toa change in the filtered event stream received from the endpoint. Thethreat management facility may be configured to adjust reporting ofevent data through the filter when the filtered event stream indicates acompromised security state of the endpoint. The threat managementfacility may be configured to request additional data from the datarecorder when the filtered event stream indicates a compromised securitystate of the endpoint. The threat management facility may be configuredto request additional data from the data recorder when a security agentof the endpoint reports a security compromise independently from thefiltered event stream. The threat management facility may be configuredto adjust handling of network traffic at a gateway to the enterprisenetwork in response to a predetermined change in the filtered eventstream. The threat management facility may include a machine learningmodel for identifying potentially malicious activity on the endpointbased on the filtered event stream. The threat management facility maybe configured to detect potentially malicious activity based on aplurality of filtered event streams from a plurality of endpoints. Thethreat management facility may be configured to detect malware on theendpoint based on the filtered event stream and additional context forthe endpoint.

The data recorder may record one or more events from a kernel driver.The data recorder may record at least one change to a registry of systemsettings for the endpoint. The endpoints may include a server, afirewall for the enterprise network, a gateway for the enterprisenetwork, or any combination of these. The endpoint may be coupled to theenterprise network through a virtual private network or a wirelessnetwork. The endpoint may be configured to periodically transmit asnapshot of aggregated, unfiltered data from the data recorder to thethreat management facility for remote storage. The data recorder may beconfigured to delete records in the data recorder corresponding to thesnapshot in order to free memory on the endpoint for additionalrecording.

FIG. 4 illustrates a threat management system. In general, the systemmay include an endpoint 402, a firewall 404, a server 406 and a threatmanagement facility 408 coupled to one another directly or indirectlythrough a data network 405, all as generally described above. Each ofthe entities depicted in FIG. 4 may, for example, be implemented on oneor more computing devices such as the computing device described herein.A number of systems may be distributed across these various componentsto support threat detection, such as a coloring system 410, a keymanagement system 412 and a heartbeat system 414, each of which mayinclude software components executing on any of the foregoing systemcomponents, and each of which may communicate with the threat managementfacility 408 and an endpoint threat detection agent 420 executing on theendpoint 402 to support improved threat detection and remediation.

The coloring system 410 may be used to label or color software objectsfor improved tracking and detection of potentially harmful activity. Thecoloring system 410 may, for example, label files, executables,processes, network communications, data sources and so forth with anysuitable information. A variety of techniques may be used to selectstatic and/or dynamic labels for any of these various software objects,and to manage the mechanics of applying and propagating coloringinformation as appropriate. For example, a process may inherit a colorfrom an application that launches the process. Similarly, a file mayinherit a color from a process when it is created or opened by aprocess, and/or a process may inherit a color from a file that theprocess has opened. More generally, any type of labeling, as well asrules for propagating, inheriting, changing, or otherwise manipulatingsuch labels, may be used by the coloring system 410 as contemplatedherein.

The key management system 412 may support management of keys for theendpoint 402 in order to selectively permit or prevent access to contenton the endpoint 402 on a file-specific basis, a process-specific basis,an application-specific basis, a user-specific basis, or any othersuitable basis in order to prevent data leakage, and in order to supportmore fine-grained and immediate control over access to content on theendpoint 402 when a security compromise is detected. Thus, for example,if a particular process executing on the endpoint is compromised, orpotentially compromised or otherwise under suspicion, keys to thatprocess may be revoked in order to prevent, e.g., data leakage or othermalicious activity.

The heartbeat system 414 may be used to provide periodic or aperiodicinformation from the endpoint 402 or other system components aboutsystem health, security, status, and so forth. A heartbeat may beencrypted or plaintext, or some combination of these, and may becommunicated unidirectionally (e.g., from the endpoint 408 to the threatmanagement facility 408) or bidirectionally (e.g., between the endpoint402 and the server 406, or any other pair of system components) on anyuseful schedule.

In general, these various monitoring and management systems maycooperate to provide improved threat detection and response. Forexample, the coloring system 410 may be used to evaluate when aparticular process is potentially opening inappropriate files based onan inconsistency or mismatch in colors, and a potential threat may beconfirmed based on an interrupted heartbeat from the heartbeat system414. The key management system 412 may then be deployed to revoke keysto the process so that no further files can be opened, deleted, orotherwise modified. More generally, the cooperation of these systemsenables a wide variety of reactive measures that can improve detectionand remediation of potential threats to an endpoint.

FIG. 5 illustrates an event graph 500 stored by a data recorder such asany of the data recorders described herein. The event graph 500 mayinclude a sequence of computing objects causally related by a number ofevents, and which provide a description of computing activity on one ormore endpoints. The event graph 500 may be generated, for example, whena security event 502 is detected on an endpoint, and may be based on adata log or similar records obtained by an event data recorder duringoperation of the endpoint. The event graph 500 may be used to determinea root cause 504 of the security event 502 as generally described above.The event graph 500 may also or instead be continuously generated toserve as, or be a part of, the data log obtained by the data recorder.In any case, an event graph 500, or a portion of an event graph 500 in awindow before or around the time of a security event, may be obtainedand analyzed after a security event 502 occurs to assist in determiningits root cause 504. The event graph 500 depicted in the figure isprovided by way of example only, and it will be understood that manyother forms and contents for event graphs 500 are also or insteadpossible. It also will be understood that while the figure illustrates agraphical depiction of an event graph 500, the event graph 500 may bestored in any suitable data structure or combination of data structuressuitable for capturing the chain of events and objects in a manner thatpreserves causal relationships for use in forensics and malwaredetection as contemplated herein.

By way of example, the event graph 500 depicted in the figure beginswith a computing object that is a USB device 512, which may be connectedto an endpoint. Where the USB device 512 includes a directory or filesystem, the USB device 512 may be mounted or accessed by a file systemon an endpoint to read contents. The USB device 512 may be detected 513and contents of the USB device 512 may be opened 514, e.g., by a user ofthe endpoint or automatically by the endpoint in response to detectionof the USB device 512. The USB device 512 may include one or more filesand applications, e.g., a first file 516, a second file 518, and a firstapplication 520. The first file 516 may be associated with a first event522 and the second file may be associated with a second event 524. Thefirst application 520 may access one or more files on the endpoint,e.g., the third file 526 shown in the figure. The first application 520may also or instead perform one or more actions 528, such as accessing aURL 530. Accessing the URL 530 may download or run a second application532 on the endpoint, which in turn accesses one or more files (e.g., thefourth file 534 shown in the figure) or is associated with other events(e.g., the third event 536 shown in the figure).

In the example provided by the event graph 500 depicted in the figure,the detected security event 502 may include the action 528 associatedwith the first application 520, e.g., accessing the URL 530. By way ofexample, the URL 530 may be a known malicious URL or a URL or networkaddress otherwise associated with malware. The URL 530 may also orinstead include a blacklisted network address that although notassociated with malware may be prohibited by a security policy of theendpoint or enterprise network in which the endpoint is a participant.The URL 530 may have a determined reputation or an unknown reputation.Thus, accessing the URL 530 can be detected through known computingsecurity techniques.

In response to detecting the security event 502, the event graph 500 maybe traversed in a reverse order from a computing object associated withthe security event 502 based on the sequence of events included in theevent graph 500. For example, traversing backward from the action 528leads to at least the first application 520 and the USB device 512. Aspart of a root cause analysis, one or more cause identification rulesmay be applied to one or more of the preceding computing objects havinga causal relationship with the detected security event 502, or to eachcomputing object having a causal relationship to another computingobject in the sequence of events preceding the detected security event502. For example, other computing objects and events may be tangentiallyassociated with causally related computing objects when traversing theevent graph 500 in a reverse order—such as the first file 516, thesecond file 518, the third file 525, the first event 522, and the secondevent 524 depicted in the figure. In an aspect, the one or more causeidentification rules are applied to computing objects preceding thedetected security event 502 until a cause of the security event 502 isidentified.

In the example shown in the figure, the USB device 512 may be identifiedas the root cause 504 of the security event 502. In other words, the USBdevice 512 was the source of the application (the first application 520)that initiated the security event 502 (the action 528 of accessing thepotentially malicious or otherwise unwanted URL 530).

The event graph 500 may similarly be traversed going forward from one ormore of the root cause 504 or the security event 502 to identify one ormore other computing objects affected by the root cause 504 or thesecurity event 502. For example, the first file 516 and the second 518potentially may be corrupted because the USB device 512 includedmalicious content. Similarly, any related actions performed after thesecurity event 502 such as any performed by the second application 532may be corrupted. Further testing or remediation techniques may beapplied to any of the computing objects affected by the root cause 504or the security event 502.

The event graph 500 may include one or more computing objects or eventsthat are not located on a path between the security event 502 and theroot cause 504. These computing objects or events may be filtered or‘pruned’ from the event graph 500 when performing a root cause analysisor an analysis to identify other computing objects affected by the rootcause 504 or the security event 502. For example, computing objects orevents that may be pruned from the event graph 500 may include the USBdrive 510 and the USB device being detected 513.

It will be appreciated that the event graph 500 depicted in FIG. 5 is anabstracted, simplified version of actual nodes and events on an endpointfor demonstration. Numerous other nodes and edges will be present in aworking computing environment. For example, when a USB device is coupledto an endpoint, the new hardware will first be detected, and then theendpoint may search for suitable drivers and, where appropriate, presenta user inquiry of how the new hardware should be handled. A user maythen apply a file system to view contents of the USB device and select afile to open or execute as desired, or an autorun.exe or similar filemay be present on the USB device that begins to execute automaticallywhen the USB device is inserted. All of these operations may requiremultiple operating system calls, file system accesses, hardwareabstraction layer interaction, and so forth, all of which may bediscretely represented within the event graph 500, or abstracted up to asingle event or object as appropriate. Thus, it will be appreciated thatthe event graph 500 depicted in the drawing is intended to serve as anillustrative example only, and not to express or imply a particularlevel of abstraction that is necessary or useful for root causeidentification as contemplated herein.

The event graph 500 may be created or analyzed using rules that defineone or more relationships between events and computing objects. The CLanguage Integrated Production System (CLIPS) is a public domainsoftware tool intended for building expert systems, and may be suitablyadapted for analysis of a graph such as the event graph 500 to identifypatterns and otherwise apply rules for analysis thereof. While othertools and programming environments may also or instead be employed,CLIPS can support a forward and reverse chaining inference enginesuitable for a large amount of input data with a relatively small set ofinference rules. Using CLIPS, a feed of new data can trigger a newinference, which may be suitable for dynamic solutions to root causeinvestigations.

An event graph such as the event graph 500 shown in the figure mayinclude any number of nodes and edges, where computing objects arerepresented by nodes and events are represented by edges that mark thecausal or otherwise directional relationships between computing objectssuch as data flows, control flows, network flows and so forth. Whileprocesses or files are common forms of nodes that might appear in such agraph, any other computing object such as an IP address, a registry key,a domain name, a uniform resource locator, a command line input or otherobject may also or instead be designated to be a node in an event graphas contemplated herein. Similarly, while an edge may be formed by an IPconnection, a file read, a file write, a process invocation (parent,child, etc.), a process path, a thread injection, a registry write, adomain name service query, a uniform resource locator access and soforth other edges may be designated. As described above, when a securityevent is detected, the source of the security event may serve as astarting point within the event graph 500, which may then be traversedbackward to identify a root cause using any number of suitable causeidentification rules. The event graph 500 may then usefully be traversedforward from that root cause to identify other computing objects thatare potentially tainted by the root cause so that a more completeremediation can be performed.

FIG. 6 depicts a Sensors, Events, Analytics, and Response (SEAR)environment, which may be used on a compute instance 620 such as amanaged device. The compute instance 620 may include sensors 631, 632,633, 634 that produce data that are recognized as events according tothe entity model. The sensors 631, 632, 633, 634 thus are sources ofevent information. The output of sensors 631, 632, 633, 644 may beobjects 642 that are recognized as events 644. There may be multipleobjects 642, 646 and events 644, 648 provided by a sensor. The eventsmay be processed by a local event processing facility 654. The eventprocessing may perform tokenizing and processing. Some events may berecognized and evaluated in real-time, other events may be evaluated inthe context of other events. This may be stream or bulk processing.Events may have attributes (e.g., mandatory, optional (e.g., besteffort), sensitive (tokenize it in local event store)), or associatedcontextual information.

A local event recorder 650 may be part of the event logging facility.Some recorded events may be stored locally and some may be communicatedto another compute instance, such as the cloud. Some events will all besent in real time, some only stored locally (and should be retrievable).An event filter 662 may be used to parse the events. Local analytics 664on a compute instance may be used to locally identify events ofinterest. A communication facility 660 will communicate events to acentral event store, such as a threat management facility 610, which maybe a cloud facility. Local enforcement 666 may be used to take steps inresponse to events, as determined by the policy management facility 666.In embodiments, events can have attributes (e.g., mandatory, optional(e.g., best effort), sensitive (e.g., tokenize it in local eventstore)). Some events will all be sent in real time, some only storedlocally (and should be retrievable).

A goal may be to discover as much as we can about the assets in theenterprise, and reduce surprises, such as compute instances that networkadministrators are not aware of, or unpatched compute instances, orvaluable data leaving the enterprise.

As one non-limiting example, static policies may be assigned to accessof files and data. Events involving files and data may be observed bysensors, for example, in a file system filter, generating events. Theevents may be determined to be of interest based on the policies.

FIG. 7 depicts centralized event collection. Referring to FIG. 7 ,centralized event collection 700 may be used to receive and store eventsfrom various compute instances. Events are received at a threatmanagement facility 710 by event collection 762. Events may be receivedfrom compute instances, shown for the sake of clarity of illustration asa device 711, a device 712, a device 713, and a firewall 714, althoughevents may be received from any number or type of compute instances.Events may be stored in the event store 764, and also may be processedin real-time by the stream processing facility 766. The entity models770 may be used by the analytics facility 768 to make observations andinferences based on the events.

In embodiments, events are continuously analyzed against a baseline. Thebaseline may be adjusted to account for normal behavior. Comparison tobaselines may include looking for outliers and anomalies as well asimpossible events. For example, if a user logs on from Germany and thenlogs in from San Francisco, that may be considered impossible.

Comparisons may be made at different levels. For example, the entity maybe compared to itself e.g., how does this user on Monday compare to thissame user at some past time. The entity may also or instead be comparedto a peer group, e.g., is a finance department member behaving similarto other finance department members. The entity may also or instead becompared to other entities within the enterprise. For example, theentity may be compared to other users at similar companies in the sameindustry, or in the same location, as well as to the universe of allusers.

Real-time and retrospective threat intelligence may also be included, aswell as vulnerability information and patch information.

With a sufficient level of confidence in the inferences, active,adaptive responses may be taken. For example, dynamic policies 771 maybe updated to better fit the security profile to the environment thathas been discovered and observed, e.g., by adjusting security settingswithin a security policy or group of security policies. A policyenforcement facility 773 may enforce these updated dynamic policies 771at compute instances, such as the compute instances 711-714.

In embodiments, high-interaction interfaces allow an admin to interactwith the event store 764 to better understand the assets in theenterprise facility and for specific purposes, such as threat hunting.

FIG. 8 shows a flow chart of a method for computer augmented threatevaluation. In general, an automated system attempts to characterizecode as safe or unsafe. For intermediate threat samples that are notplaced with sufficient confidence in either category, human-readableanalysis is automatically generated, such as qualitative or quantitativecomparisons to previously categorized threat samples, in order to assista human reviewer in reaching a final disposition. For example, a randomforest over human-interpretable features may be created and used toidentify suspicious features in a manner that is understandable to, andactionable by, a human reviewer. Similarly, a k-nearest neighboralgorithm or similar technique may be used to identify similar samplesof known safe and unsafe code based on a model for one or more of a filepath, a URL, an executable, and so forth. Similar code may then bedisplayed along with other information to a user for evaluation in auser interface. This comparative information can substantially improvethe speed and accuracy of human interventions by providing richercontext for human review of potential threats.

As shown in step 802, the method 800 may include providing a model suchas a threat detection model for evaluating a likelihood that a threatsample is at least one of safe or malicious based on a training set ofknown threat samples. This may include any of the machine learningmodels or other threat detection models contemplated herein. As shown instep 804, the method 800 may also include providing threat samples suchas samples of code that are known to be safe and samples of code thatare known to be malicious. This may also or instead include known safeand unsafe samples of network activity, file content, file activity,behaviors, events, and so forth. The threat detection model may includea machine learning model trained using these threat samples, or anyother suitable training set, or some combination of these. Thus,providing the model may include training a machine learning model toidentify malicious code in a training set including threat samples thatare known to be safe and known to be malicious.

The model may include a model for evaluating a likelihood that a threatsample is at least one of safe or malicious based on a training set ofknown threat samples. The model may also or instead include anintegrative model that evaluates a potential threat by a threat samplebased on a combination of a first model configured to identify maliciouscode based on behavioral tags, a second model configured to identifymalicious code based on an executable file path, and a third modelconfigured to identify malicious code based on a Uniform ResourceLocator within the threat sample, or any of the other integrative modelscontemplated herein.

As shown in step 806, the method 800 may include identifyingintermediate threats. For example, this may include identifying a newthreat sample as an intermediate threat that is not within apredetermined likelihood of being malicious or safe according to themodel, or using any of the other techniques described herein.

As shown in step 808, the method 800 may include identifyingsupplemental information relevant to evaluation of the new threatsample, such as relevant features of the new threat sample contributingto an inference of malicious code.

For example, the method 800 may include identifying one or morefeatures, such as relevant features of the new threat sample associatedwith an inference of malicious code, using a random forest overhuman-interpretable features associated with an inference of maliciouscode in the training set of known threat samples (or any other suitabletraining set or the like). Random forests or random decision forests arean ensemble learning method for classification, regression, and othertasks, that operate by constructing a multitude of decision trees attraining time and outputting the class that is the mode of the classes(classification) or mean prediction (regression) of the individualtrees. As a significant advantage, the structure of the decision tree(s)can be organized around human-interpretable features such as whether athreat sample is signed or whether the threat sample opens new filesduring execution. While the creation of a random forest is generallycomputationally expensive, and other more efficient techniques are knownfor automated classification, the output of a random forest overhuman-interpretable features can provide highly useful context to ahuman reviewer when evaluating intermediate threats as contemplatedherein, and thus provides particular advantages over otherclassification techniques in this context, even when used in addition toother (possibly more computationally efficient) classification modelsand techniques for evaluating riskiness of unknown threat samples.

Identifying supplemental information may also or instead includeidentifying similar threat samples known to be safe or maliciousincluding one or more safe threat samples similar to the new threatsample and one or more malicious threat samples similar to the newthreat sample. In this context, similarity may usefully be computedbased on a k-nearest neighbor algorithm. The similar threat samples may,for example, include a list of safe threat samples ranked based onsimilarity to the new threat sample according to the k-nearest neighboralgorithm, which may in turn be presented as a ranked list in a userinterface. The similar code may also or instead include a list ofmalicious threat samples ranked based on similarity to the new threatsample according to the k-nearest neighbor algorithm. Using these rankedlists, a user may advantageously be presented with an ordered list ofnearest, known safe threat samples and nearest, known unsafe samples. Ak-nearest neighbor algorithm is a non-parametric method that assigns anew item to a particular class based on a closest neighbor within a(usually multi-dimensional) features space for training data.

While this approach provides a computationally efficient technique forevaluating similarity for certain data types, it will be understood thatother computational measures of similarity are known in the art, and mayusefully be employed to evaluate similarity of a new threat sample toknown safe an unsafe threat samples as contemplated herein. For example,a nearest centroid classifier or nearest prototype classifier uses aclassification model that assigns a classification based on a closestcentroid that may be used to assess similarity as contemplated herein.As another example, an n-gram analysis supports efficient approximatematching and may be used to perform fast, large scale similarityanalysis for a given file path over a large database of known maliciousand known benign file paths and URLs.

While certain portions of this description emphasize the analysis ofexecutables for detection of suspiciousness or the identification ofintermediate threats, it should be understood that the term “threatsample” is not so limited. Other threat samples based on, e.g., files,caches, or other data sources may be used. Events, e.g., in a filteredevent stream may also or instead be used, and the techniques describedherein for use with code samples are also generally applicable to otherthreat samples instead of explicit computer code such as networkactivity, content, event streams that identify activities or behaviors,and so forth. Thus, for example, activities such as visiting aparticular URL, opening an attachment, sending an electronic mail, orother events may also or instead be analyzed as threat samples by anintegrative model or other threat detection tools to identify potentialmalware threats on an endpoint or group of endpoints.

As shown in step 810, the method 800 may include displaying theintermediate threat(s) and supplemental information in a user interfacefor user disposition, or otherwise augmenting a description of the newthreat sample in a user interface with the supplemental information.This may, for example, include presenting a description of the newthreat sample, the one or more relevant features, and the similar threatsamples in a user interface. In one aspect, the method may includedisplaying a list of the similar threat samples ranked according tosimilarity to the new threat sample using, e.g., a k-nearest neighboralgorithm or any other suitable technique for measuring similarity. Thismay, for example, include similarity of executable code, similarity ofbehaviors, similarity of filenames, similarity of URL's called, orsimilarity of any other objective feature or combination of featuresthat can be correlated to risk (or lack of risk). In one aspect, anumber of the most similar safe samples and a number of the most similarunsafe samples may be presented together, and ranked, e.g., based onrelative threat or based on similarity. The threat samples may bedisplayed along with descriptive information, attributes, behavioralcharacteristics, metadata and so forth, as well as any other informationthat might help a human user assess relative similarity when disposingof the current, new threat sample.

More generally, any supplemental information that might be helpful to auser in assessing a new threat sample may usefully be gathered anddisplayed to the user. For example, this may include augmenting thedescription of the new threat sample with a reputation of the new threatsample, e.g., based on reputation information available from a threatmanagement facility. This may also or instead include augmenting thedescription of the new threat sample with a suspiciousness score basedon a genetic analysis of features of the new threat sample. In anotheraspect, this may include augmenting the description of the new threatsample with contextual information such as users, related processes,associated data sources or files used by the threat sample, signatureanalysis, behavioral analysis, software update history or status for theendpoint, and so forth.

As shown in step 812, the method 800 may include disposing of theintermediate threat(s), such as by receiving user input through the userinterface categorizing the new threat sample as safe, unsafe, orundetermined. Thus, in one aspect, the user interface may be configuredto receive a user input categorizing the new threat sample as safe,unsafe, or undetermined. Where a disposition as unsafe does notautomatically initiate a remedial action, the user interface may also beconfigured to receive an express instruction for a remedial action suchas any of the remedial actions described herein, or any other actionssuitable for disposing of or otherwise managing a new threat. In anotheraspect, the user interface may be configured to receive user input toadjust filtering of an event stream from an endpoint that provided thenew threat sample, which may permit an increase or decrease in theamount of event reporting from the endpoint instead of, or in additionto, a specific characterization of the new threat sample.

In another aspect, a system as contemplated herein includes a memorystoring a first model for evaluating a likelihood that a threat sampleis at least one of safe or malicious, a second model characterizing amanner in which a number of human-interpretable features contribute toan evaluation of suspiciousness of a file, and a third model forevaluating similarity of threat samples. The system may include a threatmanagement facility including a processor configured to apply the firstmodel to identify a new threat sample as an intermediate threat when thenew threat sample is not within a predetermined likelihood of beingmalicious or safe according to the first model. The system may alsoinclude a web server configured to present a user interface including adescription of the intermediate threat, augmented by one or morefeatures of the intermediate threat identified with the second model andone or more similar threat samples identified with the third model, theweb server further configured to receive input from a user through theuser interface disposing of the intermediate threat. Disposing of theintermediate threat may include remediating the intermediate threat.Disposing of the intermediate threat may also or instead includecharacterizing the intermediate threat as safe, unsafe, or undetermined.

FIG. 9 shows a user interface for managing intermediate threats in anenterprise network. The user interface 900 may be provided, e.g., as aweb page or other content presented from the threat management facilityfor display on a user device such as an end user endpoint. The userinterface 900 may show a feed 902 of suspicious events. The eventswithin this feed 902 may be sorted, e.g., into files, URL visits,executables, processes, downloads, and so forth, or any other usefulcategories for review, or the events may be combined into a single feed.As noted above, threat samples may include executable code, however, thetechniques contemplated herein may also or instead be applied to threatsamples such as files, network activity, or streams of event data.

A variety of tools 904 for explicit disposition of new threat samplesmay be provided. For example, the user interface 900 may include tools904 such as buttons or similar controls for a user to mark a particularevent as, e.g., safe, unsafe, low priority, unknown, or the like. Theuser interface 900 may also provide controls for querying the enterprisenetwork for additional information, for adjusting filtering of eventstreams from endpoint data recorders, for initiating scans or otheranalysis, and so forth.

In one aspect, the user interface 900 may display a window 906 with moregranular information about features contributing to suspiciousness. Forexample, an analysis of a threat sample may return a 90% suspicion ofmalicious code, while a file path analysis may return a 57% suspicion,and a URL analysis may return a 77% suspicion. While an integrativemodel may combine these various features into a single estimate ofsuspiciousness or potential risk, the individual values may be useful toa user attempting to manually dispose of an intermediate threat.Furthermore, for any particular feature (e.g., the URL analysis in FIG.9 ), a number of most similar events or threat samples for that featuremay be displayed, with similarity evaluated using, e.g., a k-nearestneighbor algorithm or other algorithm for evaluating similarity within afeature space. These more granular estimates of suspiciousness may bepresented in separate sub-windows, which may usefully be arranged in anaccordion, a stacked group of drop-down lists, or any other suitablecontrol element or combination of control elements that permits eachtype of estimate to be expanded or collapsed under user control.

FIG. 10 shows a user interface for managing intermediate threats in anenterprise network. The user interface 1050 may, for example, includeany of the user interfaces described herein.

In one aspect, the user interface 1050 may show a window 1052 listinghuman interpretable features contributing to an estimate ofsuspiciousness. For example, the user interface 1050 may presentparticular features in the window 1052 such as whether a threat sampleis signed, whether the threat sample calls cryptographic libraries, andwhether the threat sample inspects other processes. For each suchfeature, the user interface 1050 may further present the number of knowngood and known bad threat samples for that feature, with the featuresprogressively nested according to the hierarchy of a random decisionforest.

The features displayed in this list may be a subset of features in arandom forest over human-interpretable features that is selected basedon relevance, e.g., how strongly indicative those features are of safetyor suspiciousness. In one aspect, this may include features that aremost heavily weighted on a percentage basis toward safety orsuspiciousness. In another aspect, this may include features with thelargest number of relevant samples (e.g., higher up the decision tree).In another aspect, these and any other factors may be weighted orotherwise collectively evaluated to select a subset of features fordisplay to a user. This approach may usefully assist a human user whenevaluating an intermediate threat for manual disposition by providing adisplay of features that contribute more significantly or mostsignificantly to the potential risk associated with a threat sample.

In another aspect, the user interface may provide a display of therandom forest output (e.g., quantitative data about varioushuman-interpretable features), or a display of most similar safe andunsafe threat samples, or some combination of these. For example, theuser interface may provide one or more user controls for the user toselect among these different analyses, and/or other analyses, contextualinformation, or other supplemental information.

FIG. 11 shows a system for event monitoring and response. In general,the system may include a number of compute instances 1102 that use localsecurity agents 1108 to gather events 1106 from sensors 1104 into eventvectors 1110, and then report these event vectors 1110 to a threatmanagement facility 1112. The threat management facility 1112 may storethe event vectors 1110 from a number of compute instances 1102 as a datastream 1114 in a data repository 1116 such as a memory or other datastore of the threat management facility 1112. The event stream 1114 maybe analyzed with an analysis module 1118, which may in turn createentity models 1120 useful for detecting, e.g., unexpected variations inbehavior of compute instances 1102. A detection engine 1122 may beapplied to the event stream 1114 in order to detect unusual or maliciousactivity, e.g., based on the entity models 1120 or any other techniques.Where appropriate, the threat management facility 1112 may deployresponses to the compute instances 1102 using a response facility 1124.

The compute instances 1102 may be any of the compute instances describedherein, including without limitation any physical device such as alaptop, desktop, gateway, router, firewall, smartphone, tablet, or thelike, as well as a virtualized instance of any of the foregoing or anyother computer, user device, container, or the like. The sensors 1104and events 1106 may also generally be any of the sensors and eventsdescribed herein. The local security agent 1108 may be any of thesecurity agents described herein, or any other software component or thelike executing on or in association with one of the compute instances1102 to locally manage security of the compute instance and/orcoordinate security services with the threat management facility 1112and other remote resources.

The local security agent 1108 may collect events 1106 from sensors 1104on the compute instance 1102, and form the collected events 1106 intoevent vectors 1110 for communication to the threat management facility1112. The sensors 1104 and/or local security agent 1108 may usefullyprocess events 1106 in a number of ways in order to facilitatecommunication, computational efficiency, or downstream processing. Forexample, events 1106 may be tokenized. That is, a process that causes orcreates an event 1106 may be assigned a number or other identifier,which may be used locally by a compute instance or globally within theenterprise to identify a particular, known process. An event 1106 mayalso encode (tokenized or otherwise) a relationship among differentprocesses. For example, for a particular process that caused an event1106, a parent-child relationship or other dependency with otherprocesses may be encoded by providing process identifiers or the likewithin the event 1106, along with information characterizing therelationship among the processes. A Uniform Resource Locator or otherinformation for identifying resources or network locations may also betokenized or otherwise processed to support efficiency, consistency, andthe like. For example, a URL may be encoded in an event 1106 as a hashof a URL, or as a portion of a URL, or some combination of these (e.g.,a literal encoding of the top level domain, and a hash of some or all ofthe remaining path information). Other events 1106 such as registrychanges, system calls, remote procedure calls and the like may beliterally encoded into an event 1106 where they are relatively compact,or identified using any suitable tokenization, compression, or the like.

Other techniques may also or instead be used. For example, user-specificor machine-specific information may be altered where appropriate toanonymize the event vectors 1110 and mitigate exposure of sensitiveinformation during network communications. An event vector 1110, orindividual events 1106 therein, may also or instead be encrypted inorder to secure the contents against malicious interception. In anotheraspect, the events 1106 or event vectors 1110 may be compressed toconserve network resources. The event vectors 1110 may also or insteadbe prioritized, e.g., in order to increase sensitivity and decreaseresponse times for event vectors 1110 associated with a high likelihoodof malicious activity. In this latter aspect, the local security agent1108 may locally analyze events 1106 and/or event vectors 1110 in orderto permit suitable prioritization, as well as to support local detectionand response to malicious, or potentially malicious activity.

It will also be appreciated that events 1106 and/or event vectors 1110may usefully be labelled in a variety of ways. While labeling withprocess identifiers is described above, this may also or instead includean identification of an entity associated with the event 1106 or eventvector 1110. In this context, the entity may be any physical, logical,or conceptual entity useful for monitoring activity of compute instances1102 as described herein. For example, the entity may include a user, aphysical device, a virtualized machine, an operating system, anapplication, a process, a hardware subsystem (e.g., a network interfacecard, USB drive, camera, etc.), a network resource, a domain controller,a remote software service, and so forth. It should also be understoodthat the various entity types may be concurrently associated with aparticular event 1106, sensor 1104, or event vector 1110, or particularevents 1106 may be associated with multiple entities or event vectors1110. Thus, for example, storing a file may be an event 1106 associatedwith a particular user, a particular machine, a particular operatingsystem, a particular physical storage device, and so forth.

In one aspect, the event vectors 1110 may be organized around entities.Thus, for example, a request for access to a network resource may be anevent 1106. When such a request is initiated by a user, an event vector1110 for that user may be created and reported along with othertemporally adjacent or otherwise related events 1106 associated withthat user. Where the network request involves an interaction with, e.g.,an authentication and identity management system, this may berepresented as another entity, or as an event 1106 (or group of events1106) in the event vector 1110 for the user. At the same time, a secondevent vector 1110 for the compute instance 1102 may also be created andreported along with other temporally adjacent or otherwise relatedevents 1106 associated with that compute instance 1102. Alternatively,the event vectors 1110 may be organized around chronology. That is,groups of events 1106 within a window of time may be reported as anevent vector 1101. The event vectors 1110 may also or instead beorganized around other aspects of the system 1100, such as particularsensors 1104 or groups of sensors 1104, causal relationships amongevents 1106, particular triggers, types of activity (e.g., networkcommunications, operating system, processes, etc.) and so forth. Ingeneral, the source of each event 1106, such as a particular sensor1104, or some entity, computing object or the like associated with thesensor 1104, may be encoded with the event 1106 to permit explicitidentification by the threat management facility 1112 or otherdownstream processing resources. Although depicted in FIG. 11 as havingsimilar size, it will also be understood that the event vectors 1110 maybe any size, and may usefully encode any number of different events1106.

The event vectors 1110 may be received by the threat management facility1112 and stored as an event stream 1114 in a data repository 1116, whichmay be any data store, memory, file or the like suitable for storing theevent vectors 1110. The event vectors 1110 may be time stamped orotherwise labeled by the threat management facility 1112 to recordchronology. In general, the event stream 1114 may be used for analysisand detection as further described herein.

In general, an analysis module 1118 may analyze the event stream 1114 toidentify patterns of events 1106 within the event stream 1114 useful foridentifying unusual or suspicious behavior. In one aspect, this mayinclude creating entity models 1120 that characterize behavior ofentities, such as any of the entities described herein. Each entitymodel 1120 may, for example, include a multi-dimensional description ofevents 1106 for an entity based on events 1106 occurring over time forthat entity. This may be, e.g., a statistical model based on a historyof events 1106 for the entity over time, e.g., using a window or rollingaverage of events 1106.

The entity models 1120 may, for example, be vector representations orthe like of different events 1106 expected for or associated with anentity, and may also include information about the frequency, magnitude,or pattern of occurrence for each such event 1106. In one aspect, theentity model 1120 may be based on an entity type (e.g., a particulartype of laptop, or a particular application), which may have a relatedevent schema that defines the types of events 1106 that are associatedwith that entity type. This may usefully provide a structural model fororganizing events 1106 and characterizing an entity before any eventvectors 1110 are collected, and/or for informing what events 1106 tomonitor for or associate with a particular entity.

As an event stream 1114 is collected, a statistical model or the likemay be developed for each event 1106 represented within the entity modelso that a baseline of expected activity can be created. In one aspect,an existing model may be used, e.g., when the entity or entity type isalready known and well characterized. The entity model may also orinstead be created by observing activity by the entity (as recorded inthe event stream 1114) over time. This may include, for example,monitoring the entity for an hour, for a day, for a week, or over anyother time interval suitable for creating a model with a sufficientlikelihood of representing ordinary behavior to be useful as a baselineas contemplated herein. In one practical example, certain softwareapplications have been demonstrated to yield a useful baseline withinabout two weeks. It will also be understood that, once an entity modelis created, the entity model may usefully be updated, which may occur atany suitable intervals according to, e.g., the length of time to obtaina stable baseline, the amount of activity by the entity, the importanceof the entity (e.g., to security, operation of a compute instance 1102,and so forth), or any other factors.

These techniques may be used to create an entity model 1120 for any ofthe entities described herein, including without limitation physicalhardware items, virtualized items, software items, data and date stores,programming interfaces, communications interfaces, remote resources, andso forth, or any of the other entities, computing objects, assets or thelike described herein. In one aspect, the entities may be arrangedaround a conceptual stack for an endpoint in an enterprise network, suchas by providing entities for a domain controller, a compute instance, auser, an operating system, a library, an application, a process, anddata. This may also or instead include any of a number of physicaldevices such as a laptop, a desktop, a gateway, a router, a firewall, asmartphone, a tablet, a personal computer, a notebook, a server, amobile device, an IoT device. The entity may also or instead includehardware subsystems such as a peripheral, a keyboard, a mouse, adisplay, a network interface card, a USB drive, a camera, a disk driveor other physical storage device, and so forth. The entity may also orinstead include a virtualized instance of any of these physical devicesor systems, or any other virtualized compute instance or other computingresource such as a virtual machine, a hypervisor, or the like. Inanother aspect, this may include computing objects or resources such asa container, an operating system, a library, an application, a process,a file or other data, or the like. An entity may also or instead includeremote resources, such as a cloud computing resource, cloud dataresource, remote software service, or any other network resource or thelike. An entity may also include other entities such as a user orrelated identity, or more specific system resources such as a kerneldriver, system registry, process cache, and so forth. More generally,any physical, virtual, logical, or other computing resource, asset, orthe like that can usefully be instrumented and/or monitored to provideevents for use as contemplated herein may be an entity as that term isused in this description.

As noted above, the entities of interest here may exist non-exclusivelyat various levels of hardware and software abstraction, and the entitymodels may similarly be of varying and overlapping scope. By way of anon-limiting example, an entity model for a laptop may includeapplications running on the laptop. In one aspect, the entity model mayincorporate all network activity by the laptop, while in another aspect,network activity may be associated with the entity models for specificapplications. Or the network activity may be associated with bothentities, e.g., such that a single event is incorporated into multipleevent vectors associated with multiple entities. In general, thesedesign choices may affect the granularity of detections, the amount ofprocessing and communications overhead, and so forth, and any suchvariations consistent with deployment within an enterprise network ascontemplated herein are intended to fall within the scope of thisdisclosure.

According to the foregoing, in one aspect an entity model may contain aschema or the like describing events associated with an entity (or atype of entity), along with information about normal or expectedbehavior for each event 1106 associated with the entity. In one aspect,an entity type (e.g., laptop, or laptop by manufacturer X, or virtualmachine in environment Y) may be used to select a schema for an entitymodel, while activities of a particular instances of that entity typemay be used to generate the baseline for the entity model used indetections and the like. Thus, for example, if a user installs an officeproductivity suite, an entity model for that entity type may be selectedbased on the types of events 1106 known to be associated with the usethe application, or the capabilities of the application. However,different users may use the software differently, so the baseline ofexpected behavior may be evaluated for a particular installation of theapplication by monitoring activity of the application over time. Inanother aspect, the schema for an entity model may itself be extensible.That is, the schema of different events 1106 may be created based onobservations of activity associated with the entity. When a new type ofevent 1106 is detected for that entity, the event 1106 may be added tothe schema for a corresponding entity type.

Once an entity model 1120 has been created and a stable baselineestablished, the entity model 1120 may be deployed for use in monitoringprospective activity. This monitoring may, for example, use the sameevent stream 1114 that was used to create the entity model 1120, or afiltered or otherwise processed version of the event stream 1114. Itwill be appreciated that the entity models 1120 may generally bedeployed as fixed or relatively static or discrete models, or any one ormore of the entity models 1120 may be continuously updated so that theychange over time as new information becomes available, e.g., in theevent stream 1114 or otherwise.

The detection engine 1122 may compare new events 1106 generated by anentity, as recorded in the event stream 1114, to the entity model 1120that characterizes a baseline of expected activity. By representing theentity model 1120 and the event vectors 1110 in a common, or related,vector space, deviations from expected behavior can usefully beidentified based on the vector distance between one or more eventvectors 1110 and the entity model 1120. This comparison may usefullyemploy a variety of vector or similarity measures known in the art. Forexample, the comparison may use one or more vector distances such as aEuclidean distance, a Mahalanobis distance, a Minkowski distance, or anyother suitable measurement of difference within the corresponding vectorspace. In another aspect, a k-nearest neighbor classifier may be used tocalculate a distance between a point of interest and a training dataset, or more generally to determine whether an event vector 1110 shouldbe classified as within the baseline activity characterized by theentity model.

It will be understood that, while event vectors 1110 and entity models1120 as described herein provide one useful technique observingdeviations from a baseline of expected behavior by entities within anenterprise, the detection engine 1122 may also or instead employ otherdetection techniques based on the event stream 1114, e.g., to supportreal time detection of suspicious or malicious behavior. For example,certain events 1106 may be independently and directly indicative ofmalicious activity, such as initiating communications with a knowncommand and control center for an advanced persistent threat. Otherevents 1106 may be potentially indicative of malicious activity, such asinitiating disk-wide encryption or transmitting sensitive informationfrom an endpoint. While tools exist for detecting these types ofmalicious activity, relevant events 1106 may be present in the eventstream 1114, and the response facility 1124 may usefully triggeradditional analysis, investigation, or other responses based on theevent stream 1114 instead of or in addition to monitoring for deviationsfrom entity baselines. In another aspect, concurrent deviations bydifferent entities, or a pattern of deviations for a single entity oramong entities, may also be usefully monitored. For example, a deviationin the behavior of a trusted application across multiple computeinstances 1102, either concurrently or in succession, may indicate arollout of a software update rather than malicious behavior. Conversely,if a number of compute instances 1102 concurrently begin contacting anunknown network address, this may be an indication of malwarepropagating among devices in an enterprise network. More generally,deviations among different entities, or among multiple instances of aparticular entity, may provide useful information about actual orpotential causes of the change, and may inform subsequent manual orautomated investigations.

In general, where the event stream 1114 deviates from a baseline ofexpected activity that is described in the entity models 1120 for one ormore entities, any number of responses may be initiated by the responsefacility 1124 of the threat management facility 1112. In one aspect,this may include deployment of known remediations for malicious activitysuch as quarantine, termination of network communications, terminationof processes or applications, an increase in local monitoring activityon affected compute instances 1102, messages to a network administrator,filtering of network activity, antivirus scans, deployment of securitypatches or fixes, and so forth. This may also in policy updates. Forexample, security policies for compute instances 1102, users,applications or the like may be updated to security settings that imposestricter controls or limits on activity including, e.g., limits onnetwork activity (bandwidth, data quotas, permitted network addresses,etc.), limits on system changes (e.g., registry entries, certain systemcalls, etc.), limits on file activity (e.g., changes to filepermissions), increased levels of local activity monitoring, and soforth.

FIG. 12 shows a flow chart of a method for dynamic filtering of endpointevent streams. In general, activity on an endpoint is monitored in twostages with a local agent. In a first stage, particular computingobjects on the endpoint are selected for tracking. In a second stage,particular types of changes to those objects are selected. By selectingobjects and object changes in this manner, a compact data stream ofinformation highly relevant to threat detection can be provided from anendpoint to a central threat management facility. In order to supportdynamic threat response, the locus and level of detection applied by thelocal agent can be controlled by the threat management facility.

As shown in step 1202, the method 1200 may include instrumenting theendpoint, e.g., with a local agent, to detect a plurality of types ofchanges to a plurality of computing objects. In general, the changes maybe any of the events or other actions described herein, and thecomputing objects may be any of the computing objects described herein.For example, the computing objects may include a number of files, anumber of processes, and/or a number of executables. The computingobjects may also or instead include one or more of an electroniccommunication, a registry of system settings, a secure kernel cache, orany other data or data structure stored on an endpoint or communicatedto or from the endpoint. Similarly, the types of changes may be anytypes of changes that might usefully be monitored in a threat managementcontext as contemplated herein. For example, the endpoint may beinstrumented to detect file reads and writes, but not file opens orcloses. Or the endpoint may be instrumented to monitor inbound andoutbound electronic mail, but not outbound electronic mail to otherusers within the enterprise. As another example, the endpoint may beinstrumented to monitor changes to operating system registry entries bynon-system processes, or to monitor read/write activity thatsubstantially increases file entropy. More generally, any types ofchanges that might contribute to a determination of suspiciousness orsafety can usefully be monitored, with instrumentation of suitable,corresponding computing objects, all as contemplated herein.

As shown in step 1204, the method 1200 may include creating an eventstream from the local agent including each type of change to each of thecomputing objects detected on the endpoint.

As shown in step 1206, the method 1200 may include storing the eventstream in a data recorder on the endpoint. This may generally be anunfiltered event stream containing additional event data not includingin a filtered event stream that is sent to a threat management facility,and may include some or all of the event data that the endpoint isinstrumented to detect. For example, the unfiltered event stream mayinclude additional ones of the plurality of types of changes to theplurality of computing objects in a filtered event stream, or changes toadditional ones of the plurality of computing objects not included inthe filtered event stream.

As shown in step 1208, the method 1200 may include processing the eventstream with a filter at the endpoint to provide a filtered event streamincluding a subset of the types of changes to a subset of the computingobjects. In one aspect, the subset of computing objects includes one ormore of a file, an executable, a process, a database, and a message. Inanother aspect, the types of changes include at least one of a fileread, a file write, a file copy, a file encrypt, a file decrypt, anetwork communication, a registry update, a software installation, achange in permissions, and a query to a remote resource. It will beunderstood that, while the filtered event stream is illustrated asflowing from the event stream stored by the data recorder, the filteredevent stream may also or instead be created directly by a security agentas the unfiltered event stream is captured and forwarded to the datarecorder for storage.

Processing the event stream with the filter may also include locallyadjusting the filter at the endpoint, e.g., in response to local changesdetected on or by the endpoint. For example, the level of filtering maybe locally adjusted by the endpoint based on a reputation score for oneor more processes, files, or the like on the endpoint. This filteringmay be done for all detectable events on the endpoint, or for specificprocesses. Thus, for example, when a reputation for a new process orother computing object is unknown, the endpoint may decrease filteringto provide greater data reporting to the threat management facility forthat particular process. Thus, while step 1216 below contemplatescontrolling the filter from a central threat management facility or thelike, the filter may also or instead be controlled locally on anendpoint in response to changes in security posture, policy complianceposture, or any other events, context, malware detections, and so forth.

In one aspect, the filtered event stream may be arranged around anchorpoints such as a file, a domain name, or any other useful piece of dataor metadata for which the presence can be monitored on an endpoint. Forexample, a file hash may be created for a file and used to test for thepresence of that file on endpoints throughout an enterprise. Wheneverthis anchor point, e.g., the corresponding file hash, is detected on anendpoint, a collection of related events, metadata, context and so forthmay be added to the filtered event stream for reporting to a centralthreat management facility.

In another aspect, the level of filtering may be locally controlledbased on factors or requirements other than threat detection. Forexample, an event stream may be filtered to remove personal identifyinginformation, e.g., for compliance with data privacy regulations. Asanother example, filtering may be controlled based on network usagerestrictions, e.g., so that a particular endpoint does not exceed apredetermined hourly, daily, or weekly quota of bandwidth for eventreporting.

Further, it will be understood that the filtered event stream mayinclude synthetic events that characterize other collections of eventsin a single event or condensed group of events. This approachadvantageously permits more compact communication of relevantinformation to a threat management facility, as well as more compactstorage of information on the endpoint. In one aspect, the syntheticevents may be stored by the data recorder in place of (e.g., to reducememory requirements) or in addition to (e.g., to reduce communicationsrequirements while preserving a more complete log or related activity)more detailed logging of granular events on the endpoint. In anotheraspect, the data recorder may store complete event details, and theendpoint may (e.g., with the security agent) create synthetic eventsdynamically to facilitate more compact communication to the threatmanagement facility.

As shown in step 1210, the method 1200 may include transmitting thefiltered event stream to a threat management facility. The filteredevent stream may be transmitted at any suitable frequency includingperiodic, aperiodic, or other scheduled transmittal, as well as pushedtransmittal (e.g., at intervals determined by the endpoint) or pulledtransmittal (e.g., at intervals determined by the threat managementfacility, or any combination of these. Thus, for example, the endpoint(or security agent on the endpoint) may periodically report the filteredevent stream on a predetermined schedule, with supplemental transmittalsprovided when the security agent detects a potential threat, orrequested when the threat management facility detects a potentialthreat.

As shown in step 1212, the method 1200 may include receiving thefiltered event stream at the threat management facility.

As shown in step 1214, the method 1200 may include processing thefiltered event stream at the threat management facility to evaluate asecurity state of the endpoint. This may include any processing suitablefor analyzing the events within the filtered event stream. For example,processing the filtered event stream may include searching for potentialmalicious activity on the endpoint, e.g., based on a pattern ofactivities within the filtered event stream, or based on a specificactivity such as an unauthorized change to a registry entry. Processingthe filtered event stream may also or instead include searching for asecurity exposure on the endpoint such as a missing security patch, achange in a firewall configuration, a de-installation of a malwarescanner, and so forth. In another aspect, processing the filtered eventstream may include securely verifying a status of the endpoint, e.g.,with a secure heartbeat or the like from the endpoint, in order toensure that the endpoint has not been otherwise compromised. In anotheraspect, processing the filtered event stream may include monitoring forchanges that bring the endpoint out of compliance with a security policyfor an enterprise, or otherwise present an actual or potential risk tonetwork security for the enterprise.

As shown in step 1216, the method 1200 may include conditionallytransmitting adjustments to filtering by the endpoint. For example, themethod 1200 may include, in response to a predetermined security statedetected by the threat management facility, transmitting an adjustmentto the endpoint for at least one of the types of changes or thecomputing objects used by the filter to process the event stream. Thismay include transmitting an adjustment to a filter used by the endpointto select which of the plurality of types of changes to the plurality ofcomputing objects the data recorder reports in the filtered eventstream. Thus, for example, when the security state indicated by thefiltered event stream is a potentially compromised state of a file,process or the like, the threat management facility may decreasefiltering in order to receive more data about various changes to or bycomputing objects on the endpoint. This may include general changes tothe level of filtering, or targeted changes that focus on specificcomputing objects or types of changes that might be related to apotential compromise. In one aspect, the adjustment to endpointfiltering may include a change to the subset of types of changesincluded in the filtered event stream, such as by increasing the typesof changes included in the filtered event stream when the endpoint ispotentially compromised, or decreasing the types of changes included inthe filtered event stream when a potential compromise has beenremediated. The adjustment may also or instead include a change to thesubset of computing objects included in the event stream, such as bymonitoring additional processes, directories or the like when apotential compromise is detected.

Adjustments may also be made to filtering by other endpoints within anenterprise network. For example, where a compromise is detected on oneendpoint, behaviors or other patterns detected in the (filtered) eventstream for that endpoint may be used to adjust the filtering on otherendpoints to facilitate the detection of similar or related patternselsewhere within the enterprise network. Similarly, endpoints or dataresources known to contain high business value assets may have filteringadjusted to facilitate more detailed and frequent monitoring of relatedassets.

In another aspect, filtering may be adjusted independently of thecurrent filtered event stream, e.g., based on other context. Forexample, when an employee is about to leave a company, filtering may bereduced on or removed from any associated compute instances so thatcomputing or network activity can be more closely monitored untildeparture.

As shown in step 1218, the method 1200 may include other processingbased on the filtered event stream. For example, the method 1200 mayinclude correlating the filtered event stream to a malware event on theendpoint and searching for the malware event on one or more otherendpoints coupled to the enterprise network based on a pattern of eventsin the filtered event stream. In another aspect, the method 1200 mayinclude storing the filtered event stream at the threat managementfacility. In another aspect, the method 1200 may include, when thefiltered event stream shows that the security state of the endpoint iscompromised, initiating a remedial action, e.g., using any of theremediation tools available to the threat management facility.

According to the foregoing, there is also disclosed herein a systemincluding an endpoint and a threat management facility. The endpoint mayexecute a data recorder to store an event stream including a pluralityof types of changes to a plurality of computing objects detected on theendpoint, and the endpoint may execute a local agent to process theevent stream with a filter into a filtered event stream including asubset of the plurality of types of changes to a subset of the pluralityof computing objects. The local agent may be further configured tocommunicate the filtered event stream to a remote resource over a datanetwork. The threat management facility may be configured to receive thefiltered event stream from the endpoint and to process the filteredevent stream to evaluate a security state of the endpoint. The threatmanagement facility may be further configured to respond to apredetermined change in the security state by transmitting an adjustmentto the endpoint for at least one of the types of changes or thecomputing objects used by the filter to process the event stream. In oneaspect, the threat management facility may be configured to initiate aremediation of the endpoint when the security state of the endpoint iscompromised.

FIG. 13 shows a flow chart of a method for forensic query of local eventstreams in an enterprise network. In general, activity on an endpoint ismonitored in two stages with a local agent. In a first stage, particularcomputing objects on the endpoint are selected for tracking. In a secondstage, particular types of changes to those objects are selected. Byselecting objects and object changes in this manner, a compact datastream of information highly relevant to threat detection can beprovided from an endpoint to a central threat management facility. Atthe same time, a local data recorder creates a local record of a widerrange of objects and changes. The system may support forensic activityby facilitating queries to the local data recorder on the endpoint toretrieve more complete records of local activity when the compact datastream does not adequately characterize a particular context.

As shown in step 1302, the method 1300 may include instrumenting theendpoint as described herein, e.g., with a local agent, to detect aplurality of types of changes to a plurality of computing objects. Ingeneral, the changes may be any of the events or other actions describedherein, and the computing objects may be any of the computing objectsdescribed herein. For example, the computing objects may include anumber of files, a number of processes, and/or a number of executables.The computing objects may also or instead include one or more of anelectronic communication, a registry of system settings, and a securekernel cache.

As shown in step 1304, the method 1300 may include creating an eventstream from the local agent including, for example, each type of changeto each of the computing objects detected on the endpoint.

As shown in step 1306, the method 1300 may include storing the eventstream in a data recorder on the endpoint. As described above, this maygenerally be an unfiltered event stream containing additional event datanot including in a filtered event stream that is sent to a threatmanagement facility, such as some or all of the event data that theendpoint is instrumented to detect. For example, the unfiltered eventstream may include additional ones of the plurality of types of changesto the plurality of computing objects in a filtered event stream, or oneor more of the plurality of types of changes to additional ones of theplurality of computing objects.

As shown in step 1308, the method 1300 may include processing the eventstream with a filter at the endpoint to provide a filtered event streamincluding a subset of the types of changes to a subset of the computingobjects. In one aspect, the subset of computing objects includes one ormore of a file, an executable, a process, a database, and a message. Inanother aspect, the types of changes include at least one of a fileread, a file write, a file copy, a file encrypt, a file decrypt, anetwork communication, a registry update, a software installation, achange in permissions, and a query to a remote resource.

As shown in step 1310, the method 1300 may include transmitting thefiltered event stream to a threat management facility, e.g., asdescribed above.

As shown in step 1312, the method 1300 may include receiving thefiltered event stream at the threat management facility.

As shown in step 1314, the method 1300 may include processing thefiltered event stream at the threat management facility to evaluate asecurity state of the endpoint. This may include any processing suitablefor the events within the filtered event stream. For example, processingthe filtered event stream may include searching for potential maliciousactivity on the endpoint, e.g., based on a pattern of activities withinthe filtered event stream, or based on a specific activity such as anunauthorized change to a registry entry. Processing the filtered eventstream may also or instead include searching for a security exposure onthe endpoint such as a missing security patch, a change in a firewallconfiguration, a de-installation of a malware scanner, and so forth. Inanother aspect, processing the filtered event stream may includesecurely verifying a status of the endpoint, e.g., with a secureheartbeat or the like from the endpoint, in order to ensure that theendpoint has not been otherwise compromised. More generally, this mayinclude any of the processing described herein that might usefully beperformed by a threat management facility based on an event stream fromone or more endpoints associated with an enterprise network.

As shown in step 1316, the method 1300 may include conditionallytransmitting a request to the endpoint, or more specifically, the datarecorder on the endpoint, for additional event data in the unfilteredevent stream. For example, this may include, in response to apredetermined security state detected by the threat management facility,requesting additional event data from the data recorder for at least oneof other ones of the types of changes than the subset of the types ofchanges or other ones of the plurality of computing objects than thesubset of the computing objects. The request may include a request forall event data in an unfiltered event stream stored by the data recorderover a predetermined time window. The request may also or insteadinclude a request for a larger group of types of changes or events fromadditional computing objects. The predetermined change in the securitystate may be any change raising suspicion or otherwise indicating thatadditional information may be useful for manual review, automatedreview, forensic documentation, or some combination of these. Forexample, the predetermined change in the security state of the endpointmay include an increased likelihood of malicious activity associatedwith the endpoint. The change may also or instead include a change inpolicy compliance, detection of known malware, suspicious networkcommunications, access to highly valuable business assets, and so forth.

As shown in step 1318, the method 1300 may include other processingbased on the filtered event stream. For example, the method 1300 mayinclude correlating the filtered event stream to a malware event on theendpoint and searching for the malware event on one or more otherendpoints coupled to the enterprise network based on a pattern of eventsin the filtered event stream. In another aspect, the method 1300 mayinclude storing the filtered event stream at the threat managementfacility. In another aspect, the method 1300 may include, when thefiltered event stream shows that the security state of the endpoint iscompromised, initiating a remedial action, e.g., using any of theremediation tools available to the threat management facility. Moregenerally, any action necessary or helpful for detecting, investigating,disposing of, or otherwise managing threats based on the filtered eventstream may usefully be performed in this step.

According to the foregoing, in one aspect, there is disclosed herein asystem including an endpoint and a threat management facility. Theendpoint may execute a data recorder to store an event stream of eventdata including a plurality of types of changes to a plurality ofcomputing objects detected on the endpoint. The endpoint may alsoexecute a local agent configured to process the event stream with afilter into a filtered event stream including a subset of the pluralityof types of changes to a subset of the plurality of computing objects.The local agent may be further configured to communicate the filteredevent stream to a remote resource over a data network. The threatmanagement facility may be configured to receive the filtered eventstream from the endpoint and to process the filtered event stream toevaluate a security state of the endpoint, the threat managementfacility further configured to respond to a predetermined change in thesecurity state by transmitting a request to the endpoint for additionalevent data stored by the data recorder. In one aspect, the threatmanagement facility is further configured to initiate a remediation ofthe endpoint when the security state of the endpoint is compromised.

FIG. 14 shows a platform for managing data related to threat management.In general, the platform 1400 may include an enterprise network 1402, astream service 1404, a transformer 1406, a data lake 1408, and a numberof listeners 1410. An event stream of events and related data in thestream service 1404 may be organized using schemas that are stored in aschema registry 1412 or similar resource available to various entitiesinteracting with the stream service 1404 and/or data lake 1408. Theplatform may also include a query engine 1414 for user access to thedata lake 1408 and other sources of data in the data platform 1400(including remote resources accessible to the data platform 1400), alongwith a query monitor 1416 for monitoring queries and related activityand one or more consoles 1418 that provide user interfaces for theplatform 1400 and the query engine 1414. A database 1420 may storequeries for use by the query engine 1414, along with query histories andrelated activity logged by the query monitor 1416. In general, thesecomponents may cooperate to support monitoring, data storage, query,retrieval, and analysis of events and other data related to enterprisesecurity, or any other activities useful in managing a securityinfrastructure as described herein. Each of the foregoing components ofthe platform 1400 may be realized as software, hardware, or somecombination of these.

The enterprise network 1402 may include any of the endpoints describedherein such as laptops, desktops, mobile devices, or other computeinstances for users, as well as firewalls, gateways, and any otherparticipants, security infrastructure, network infrastructure, or thelike forming an enterprise network as described herein. In general, theenterprise network 1402 may produce a stream of events such as any ofthe events described herein. This may include events from sensors,events from local security agents, events from network elements orpoints of presence (such as firewalls, gateways, WiFi routers, accesspoints, etc.), and so forth. It will be appreciated that these eventsmay in general be streaming events that are provide to, and ingested by,the stream service 1404 in real time, or batches of events that areprovided as collections of events in a single transmission, e.g., basedon a local reporting schedule used within the enterprise network 1402 orbased on network availability.

The stream service 1404 may ingest events from the enterprise network1402 including any of the events and the like described herein. In oneaspect, the stream service 1404 may receive events through an interfaceusing pre-signed Uniform Resource Locators or other techniques that canautomatically append prefixes that identify a customer, a device, orother source information for each event or collection of events. Thestream service 1404 may also or instead receive data from any othersources of events relevant to enterprise security or otherwise usefulfor managing the data platform 1400 as described herein. For example,this may include receiving signature updates for threat detection fromthird party security resources, receiving software updates and patchesfrom software vendors, and so forth. In general, the stream service 1404may include any suitable event stream processing storage or technology,or any similar hardware and/or software layer suitable for storing,managing, processing, and querying streams of events as contemplatedherein, or otherwise supporting event-driven information. Some or all ofthe data in the stream service 1404 may also or instead be stored in ahigh-speed storage facility for queries or other data processing havinghigh-performance requirements.

The transformer 1406 may generally process events in the stream service1404, e.g., by organizing data according to one or more applicableschemas from the schema registry 1412, and augmenting the data with anysuitable metadata to provide augmented event data for use in threatdetection, investigation, and management. For example, the transformer1406 may add a customer identifier, a firewall identifier, or otherinformation for identifying a source of an event. The transformer 1406may also or instead add a schema version that specifies a schema in theschema registry 1412 that can be used to organize data provided to thestream service 1404 or the data lake 1408. The transformer 1406 may alsoor instead create a timestamp, file size, hash, file path, or otherinformation useful for identifying or describing data associated with anevent, or the source or interpretation thereof, which may be appended tothe event(s) before storing in the data lake 1408. In general, thetransformer 1406 may transmit transformed event data back to the streamservice 1404 for short-term usage (e.g., one hour, one day, seven days,etc.) by the listeners 1410 or high-speed access by the query engine1414. The transformer 1406 may also or instead transmit transformedevent data to the data lake 1408 for long-term storage (e.g., one week,one month, one year, etc.). It will be understood that the generalboundaries for short-term and long-term storage may vary according to,e.g., storage capacity, processing speed, data volume, and so forth.When the transformer 1406 sends messages with metadata to the streamservice 1404, the transformer 1406 may use any suitable data format, andmay usefully compress the stream representation by including pointers toreplace, e.g., a schema, the underlying source data, and so forth.

While shown as a single transformer 1406, it will be understood that theplatform 1400 may use any number of transformers, operating in sequenceor in parallel, or some combination of these, suitable for timelyprocessing events and maintaining the stream service 1404 in a statesuitable for, e.g., real time threat detection, remediation, and/orother security-related functions.

The data lake 1408 may receive messages from the transformer 1406, andstore the message data in a manner that supports long-term storage andpermits search and retrieval by the query engine 1414. In general, thedata lake 1408 may provide a single store of data including source datain a natural or originally-provided raw data format, e.g., as binarylarge objects (“blobs”) or other files or the like, along with anymetadata or transformed data added thereto. The data lake 1408 maycontain structured data (e.g., from relational databases),semi-structured data containing CSV, logs, XML, JSON and so forth,and/or unstructured data such as emails, documents, PDFs, and binarydata such as images, audio, video, and any other data that might bereceived from the enterprise network 1402 or other sources relevant tonetwork security system as described herein. In one aspect, source datain the stream service 1404 may be filtered or otherwise processed by thetransformer 1406 in order to improve the quantity and quality of datamaintained in the data lake 1408 for the various uses described herein.A variety of cloud-based technologies and other data lake technologiesare known in the art and commercially available, and may be adapted foruse with the data lake 1408 described herein.

The listeners 1410 may be user-configurable or pre-configured listenersthat monitor the stream service using, e.g., metadata provided by thetransformer 1406, for events of interest. Each listener 1410 may monitoran event stream supported by the stream service 1404, and generatesuitable alerts, actions, or other responses by applying rules,application logic, filters, and so forth to events in the event stream.

The schema registry 1412 may store schemas for use by, e.g., thetransformer 1406 and/or the listeners 1410 when writing data to thestream service 1404, reading data from the stream service 1404, orotherwise processing or interacting with data in the stream service 1404or the data lake 1408. In general, schemas may be versionable orotherwise extensible, and each message in the stream service 1404 usinga schema to structure data may include an identifier for the schema inthe message to facilitate interpretation and other use by consumers ofthe stream service 1404. Users of the platform 1400 in general, and thestream service 1404 and data lake 1408 in particular, may inspectcurrent schemas, update schemas (that they own or control), andotherwise access the schema registry 1412 to interact with the streamservice 1404 and data lake 1408 in a structured manner, or otherwisesupport various functions of the platform 1400 described herein. As newschemas are created, e.g., to address new types of data or information,or as current schemas are updated, a history of the schema identifiersand versions may be retained in the schema registry 1412 for subsequentreference, and/or a newest schema may be pushed onto data in the datalake 1408 and/or the stream 1404.

The query engine 1414 may be any search engine suitable for querying thedata lake 1408 and other data sources. This may include automatedqueries run according to a schedule from the query database 1420. Thismay also or instead include pre-configured queries run from the querydatabase 1420 by a user from one of the consoles 1418. This may also orinstead include queries containing customizations of pre-configuredqueries, or fully custom queries initiated by users from the consoles1418. It will be understood that, while the data lake 1408 is a usefultarget for queries by the query engine 1414, the query engine 1414 mayalso or instead request data from other resources such as the streamservice 1404, endpoints or security agents in the enterprise network1402, or third party data sources such as threat libraries and the like.

The query monitor 1416 may generally monitor query activity by the queryengine 1414 as well as other activity by the user consoles 1418. Thismay include monitoring query activity by users of the consoles 1418, aswell as automated or scheduled query activity managed using the querydatabase 1420. In one aspect, the query monitor 1416 may log specificqueries initiated by the query engine 1414 in order to track, e.g.,popularity of existing queries, user modifications to existing queries,and the like. Thus, for example, a query that is frequently modified byusers may be republished to the query database 1420 in its modified formfor subsequent use as a pre-configured query. In another aspect, thequery engine 1414 may monitor a context in which queries are initiatedor adapted. For example, a pattern of queries or query modifications maybe correlated to a concurrent development of a known threat, and used tocreate query-based threat detection techniques or to identify queryactivity that can be associated with effective management of a livethreat. As another example, when specific (non-query) measures areinitiated from one of the consoles 1418 following a query, includingactivity such as scans, remedial measures, or the like, this may be usedto evaluate an effectiveness of the query and identify queries thatappear to be more helpful or informative to users. Thus, by monitoringquery activity initiated through the query engine 1414 and/or othercontextual activity by users through the consoles 1418, the querymonitor 1416 may correlate specific queries to threat identification,threat response, and so forth, or otherwise track the popularity of aquery or sequence of queries. All of this information may be stored inthe query database 1420 along with query logs, pre-configured queries,and the like for use in monitoring and evaluating query activity asdescribed herein.

The consoles 1418, which may be administrative consoles for systemadministrators, or any other user consoles or the like, may be deployedfrom a server or other remote or hosted system using, e.g., webtechnologies or the like to support a local interface on any suitableend user devices. In general, each console 1418 may display queryinformation, security information, user options, and the like, and mayprovide user controls for inputting text, selecting options, configuringqueries, and so forth. Thus, in one aspect, a host device for theplatform 1400 may cause one of the consoles 1418 including a userinterfaced to be presented on an end user device for an administrator orother end user. Each console 1418 may also include a local agent fortracking activity by console users. While a query monitor 1416 in thedata platform 1400 may generally track query activity by a local queryengine 1414, an agent on each console may advantageously supporttracking of other user activity that does not involve directinteractions with the query database 1420 or query engine 1414.

The database 1420 may be any database useful for storing query-relatedinformation as described herein. This may, for example, includepre-configured queries for deployment from one of the consoles 1418through the query engine 1414, as well as a log of queries performed bythe query engine 1414 along with metadata such as a time of the query, auser who initiated the query, and the structure of the query. This mayalso or instead include contextual information such as activity at oneof the consoles 1418 before, during, and/or after initiating a query, orany other information that might be useful in evaluating theeffectiveness or diagnostic significance of queries initiated throughthe query engine 1414.

FIG. 15 shows a method for creating a data lake for use in enterprisesecurity. In general, the data lake may be created for an enterprisefrom an asynchronous streams of security events by deduplicating objectsand creating metadata related to downstream security functions.Deduplication of objects may be efficiently performed with a bloomfilter as objects are ingested into the data lake. The objects may alsobe augmented with metadata arranged in schemas to facilitate monitoringand use within the data lake.

As shown in step 1502, the method 1500 may include storing a data lake1501, such as any of the data lakes described herein. This may, forexample, include storing a data lake containing a first plurality ofdata objects representing security events and a plurality ofdescriptions for the first plurality of data objects. The firstplurality of data objects may include security events from one or moredata recorders on endpoints in an enterprise network, which may bereceived in an event stream 1503 such as an event stream hosted by thestream service described above, or in any other suitable service or datarepository. The plurality of descriptions may be organized according toone or more schemas that characterize the structure of data contained inthe data objects. These schemas may, for example, be stored in a schemaregistry and used to transform or describe the structure of data on theevent stream.

In one aspect, the data lake 1501 may use a flat schema employingcolumnar storage organized by fields such as a user name, time, device,and the like. The data objects in the data lake may also be organizedfor ease of use, e.g., by placing identifiers or other high levelmetadata in a small separate file, by placing commonly used data (e.g.,extracted or derived data for analytics dashboards, real time eventlistening, and the like) in a second, small file, and by placingremaining data into a larger data file for access if/when needed.

As shown in step 1504, the method 1500 may include receiving a secondplurality of data objects. These data objects may be received in anasynchronous stream of security events from the enterprise network. Inone aspect, the asynchronous stream of security events may include oneor more batch transfers including groups of security events. In anotheraspect, the asynchronous stream of security events may include streamingtransfers of individual security events. The asynchronous stream mayalso or instead include a combination of batch transfers and streamingtransfers, such as where some devices in the enterprise network streamevents in real time, other devices store and forward events and batches,and other devices will send events in a connectivity-dependent mannerbased on, e.g., the availability, quality, or bandwidth of an availableconnection. In general, the data objects in the data lake may includesecurity events from one or more data recorders on endpoints in theenterprise network, or any other information from any other source orcombination of sources useful for security analysis and the like.

As shown in step 1506, the method 1500 may include filtering thereceived data objects, e.g., using the transformer described above. Thismay include filtering the second plurality of data objects to removeduplicate data objects already included in the first plurality of dataobjects. With multiple sensors and endpoints sourcing events in anasynchronous manner, it is possible that a particular event may bereported more than once. In order to avoid contaminating the data lake1501 with duplicative data, the transformer may usefully removeduplicative information. For example, filtering may include applying atleast one bloom filter to identify one of the second plurality of dataobjects that might be in the data lake and selectively performing adeduplication lookup in the data lake for the one of the secondplurality of data objects only where there is a possibility of aduplicate, e.g., where the bloom filter indicates that the data objectmight already be present in the data lake.

A bloom filter is a space-efficient data structure that uses hashingtechniques to test whether an element is a member of a set. In general,a bloom filter eliminates the possibility of false negative matches, butnot false positive matches. While other filtering techniques arepossible, such as a brute force search of existing records in the datalake 1501, the bloom filter provides a compact and computationallyefficient technique that is advantageously extensible with the additionof new elements to a set. Thus, a bloom filter may be created andadvantageously used with a growing data lake to efficiently test forwhether a particular data object has already been stored in the datalake 1501, and to reduce the number of queries to the data lake 1501that might otherwise be needed for deduplication. This may significantlyincrease the efficiency of the transformer, particularly where a queryto the data lake 1501 is substantially slower than applying the bloomfilter. It will also be understood that a separate bloom filter may becreated for each device in order to manage size. Thus, when a new deviceappears in the enterprise network, a new bloom filter may be created andassociated with a device identifier or other identifier for the newdevice so that the new bloom filter can be applied to events associatedwith the device identifier.

As shown in step 1508, the method 1500 may include augmenting the secondplurality of data objects, for example by augmenting each of the secondplurality of data objects with a corresponding description that isorganized according to at least one of the one or more schemas used bythe transformer described above to structure data in an event stream anddata lake. For example, an event or message on the event stream 1503 maybe processed into a number of different files including, e.g., a firstmetadata file with high-level metadata that identifies an event such asa source device, an event time, and an objective identifier such as asize, hash, filename, or the like for the object. This first metadatafile may use a global schema (e.g., for identification) for all of thedata objects placed in the event stream 1503 and/or data lake 1501.

A second metadata file may include tagging or analysis to support realtime listening. More generally, the second metadata file may include anyidentification information or relevant event descriptions, summaries,analysis, and the like to support high-speed processing of the eventstream 1503. This may include any tagging or characterization useful forautomated listeners to identify relevant data or events on the eventstream 1503, and may be customized by a particular user according tointended use. For example, the second metadata file may identify anentity type (e.g., firewall, gateway, mobile device, etc.), an eventtype (e.g., policy violation, configuration change, network event,etc.), a user type (e.g., system, human, etc.), a traffic type, areputation (including quantitative reputation such as a reputationscore, or qualitative reputation information such as “good,” “bad,” or“unknown”), or any other attribute(s) or information that might beuseful to listeners. The schemas for this information may be selected,e.g., for particular users of the data lake 1501, for particular devicesproviding security events, for particular network locations, and soforth. Thus, in one aspect, one of the schemas used to characterize dataobjects may include a device-dependent schema selected for one of thedata objects according to a source of the one of the data objects whenreceived in the asynchronous stream. While device-dependent schemas mayusefully be employed to structure metadata differently for differentsource devices, the schemas may also or instead be specific to a user, anetwork location, an application, a process, or any other network,physical, or logical source of an event.

In one aspect, the one or more schemas may be columnar schemas toprovide a flat, non-hierarchical structure for metadata in order toimprove efficiency, e.g., when processing real time event data in theevent stream 1503.

As shown in step 1510, the method 1500 may include storing the secondplurality of data objects and a corresponding plurality of descriptionsaccording to the one or more schemas with the first plurality of dataobjects in the data lake. In addition to any metadata files (such as thetwo described above), this may include a raw data file containing acomplete data object as it natively appeared on the event stream 1503from the enterprise network. After the processing above, the resultingcollection of files may be stored in the data lake 1501 in an augmentedform including the raw data file along with the first and secondmetadata files, and/or any other descriptive data or analysis that mightbe useful to subsequent users. The data objects may be stored in thedata lake 1501 in any of a number of forms to optimize storage and use.For example, the data objects may use a flat schema, and may be flaggedaccording to any suitable restrictions on access or use. This mayinclude tagging data as, e.g., sensitive, confidential, financial,technical, valuable, containing personally identifiable information, andso forth. As a transformer or other system processes data for storage,the data objects may also or instead be structured for optimal use onthe event stream 1503 and/or in subsequent queries to the data lake1501.

In another aspect, the metadata files may be stored on the event stream1503 for real time processing, while the (typically larger) raw dataobject is sent to the data pool 1501. In this case, the metadata filesmay include a pointer or other location identifier to assist inretrieval of the raw data from the data pool 1501 when requested, e.g.,by one of the listeners. In another aspect, the raw data object maynever enter the event stream 1503, and may instead be sent directly to atransformer or similar entity for processing and storage in the datalake 1501. In this manner, the event stream 1503 may be used exclusivelyfor high-speed processing of smaller metadata files, with the raw dataobjects stored separately in the data lake 1501 for access if/whenneeded by a listener that detects relevant information in the metadata,or by a user querying the data lake 1501.

As shown in step 1512, the method 1500 may include listening to objects1512. This may include monitoring the event stream 1503, e.g., bymonitoring metadata placed onto the event stream 1503 by a transformerusing one or more registered schemas, to identify any relevantattributes, events, actions, or the like in the event stream 1503 thatmay be relevant to a function of one of the listeners. Where relevantmetadata is detected, a corresponding listener may take any suitableaction including creating an alert or user notification, initiatingremedial action, requesting additional information from endpoints in anenterprise network (e.g., by requesting data stored in local datarecorders), by retrieving a corresponding raw data object from the datalake 1501 for analysis, and so forth. In general, this listening mayoccur as new items are placed on the event stream 1503 (e.g., in realtime), or as raw data objects and/or metadata files are stored in thedata lake 1501, or any combination of these.

As shown in step 1514, the method 1500 may include searching the datalake 1501 for security events of interest. This may include searchingmetadata in metadata files that augment raw data objects, searchingdirectly in raw data objects, or some combination of these. It will beunderstood that security events of interest may include any events fromthe enterprise network that might be indicative of malicious activity,vulnerabilities, policy compliance, or otherwise relevant to threatdetection and security management as described herein.

As shown in step 1516, the method 1500 may include performing anyadditional queries. For example, where a confidential file iselectronically mailed from an endpoint, this may be a permissiblecommunication when performed by a human user with suitable credentials,but an impermissible communication when no human user is present on theendpoint. Where a local security agent monitors for human presence,corresponding information may be stored in a local data recorder but notautomatically sent to the event stream. In this case, in response todata obtained during the data lake search, the method 1500 may includedirectly querying at least one of the endpoints for additionalinformation. It will be understood that this example is intended to benon-limiting, and any event or combination of events suggesting furtherinquiry may be used as a trigger for requesting additional informationfrom one or more endpoints or data recorders in the enterprise networkas contemplated herein.

Thus, more generally, while searching the data lake 1501 for securityevents of interest, an event may be identified that requires additionalinformation from an endpoint, and the method 1500 may include a varietyof searches or other tools to support subsequent manual (e.g., human) orautomated (e.g., machine) investigation. These additional queries may beperformed for any number reasons, for example as the investigation of adeveloping threat continuous, as the historical analysis of a priorsecurity breach is performed, or as suspicious activity emerges withinthe enterprise network. Any of this may cause an analyst to create newsearches, change the parameters for existing searches, drill down onparticular search results, and so forth, and all such types ofinvestigation may usefully be supported by the data lake 1501, includingany augmented metadata contained therein.

According to the foregoing, there is described herein a system includinga data lake, a stream service, and a transformer service. The data lakemay include a data storage medium storing a first plurality of dataobjects representing security events within an enterprise network and aplurality of descriptions for the first plurality of data objects, eachof the plurality of descriptions organized according to one or moreschemas. The stream service may be configured to receive an asynchronousevent stream of additional data objects representing security eventsfrom the enterprise network. The transformer service may be configuredto process the asynchronous event stream by filtering the additionaldata objects to remove duplicates of one or more data objects alreadystored in the data lake, thereby providing filtered data objects, toaugment each of the filtered data objects with a correspondingdescription organized according to one of the one or more schemas,thereby providing augmented data objects, and to store the augmenteddata objects in the data lake.

The asynchronous event stream may include at least one of a batchtransfer including a group of security events, a streaming transfer ofone or more individual security events, and a connectivity-dependenttransfer. Filtering the additional data objects may include applying abloom filter to the asynchronous event stream to detect a first group ofthe additional data objects that are definitely not in the data lake anda second group of the additional data objects that might be in the datalake. The transformer service may be further configured to perform adeduplication lookup in the data lake on each of the second group of theadditional data objects. In one aspect, the system may further include aquery engine configured to search the data lake for one or more securityevents of interest, and/or to request data from local data recordsoperating on endpoints within the enterprise network.

FIG. 16 shows a method for discovery of enterprise threats based onsecurity query activity. In general, a threat management system asdescribed herein may provide a collection of queries for investigatingsecurity issues within an enterprise. Useful inferences can be drawnabout the value of different queries, and about the security posture ofthe enterprise, by monitoring contextual activity such as the popularityand context of query usage, patterns of end user modification toqueries, and post-query activity.

As shown in step 1602, the method 1600 may include receiving an eventstream including security events from an enterprise network such assecurity events from one or more sensors on compute instances in theenterprise network. The event stream may be received, e.g., at a streamservice or other suitable resource. This may include any eventsdescribed herein, such as events captured by sensors on endpointsthroughout the enterprise network.

As shown in step 1604, the method 1600 may include storing the eventstream in a data lake. This may include any of the data lakes describedherein, which may be augmented with metadata files for efficient searchand analysis. It will be understood that events may also or instead belocally stored in data records of endpoints, or in any otherintermediate location(s). While the data lake may provide a usefulmedium for storage and search of relevant information, local datarecords may also or instead be used to advantageously permit offloadingof more granular storage, or unprocessed event information, at localdevices throughout the enterprise network. These distributed resourcesmay be queried as helpful and/or necessary while investigatingenterprise threats.

As shown in step 1606, the method 1600 may include storing a pluralityof queries for execution against the event stream and/or data lake. Ingeneral, the plurality of queries may be configured to investigatesecurity issues within the enterprise network based on the event streamand/or other information available to a query engine and relevant toinvestigation of security issues. This may, for example, includedatabase queries or the like configured for use with the data lake.

As shown in step 1608, the method 1600 may include monitoring usage ofthe plurality of queries, e.g., with a monitoring agent or otherautomated monitoring system. This may include monitoring usage of theplurality queries as they are issued by users from one or moreadministrative consoles to a threat management facility for theenterprise network. This may also or instead include monitoringautomated queries that are issued, e.g., on a scheduled basis from thequery database or other automated tool.

In one aspect, this may include monitoring changes to one or more of theplurality of queries. In another aspect, this may include monitoringpost-query remediation activity initiated at one or more administrativeconsoles. For example, where a particular type of remediation isconsistently initiated by a user after receiving the results of aparticular pre-configured query, then the query may, itself, be used asan indicator of a corresponding threat, e.g., the threat beingremediated after the query. This permits improved contextualrecommendations to a user initiating the query, and/or a variety ofpreemptive and/or automated responses based on an inference that thethreat is present in the enterprise network. In another aspect, this mayinclude monitoring queries for a plurality of enterprise networks, e.g.,so that activity for a number of enterprises may be aggregated andanalyzed to identify best practices (and poor practices), and to learnhow query activity by administrators maps to developing threats and/orthe success of threat responses. Thus, query activity may be effectivelycrowd-sourced to permit individual enterprise administrators to benefitfrom successes and mistakes identified in activity by otheradministrators for other networks.

In one aspect, this may include monitoring usage of the plurality ofqueries by one or more experts, such as a professional security analystor technician, in order to develop an expert system or the like for usein generating recommendations or guidance for others when managingnetworks. This system may make contextual recommendations, respond toinquiries and request for help, and so forth.

As shown in step 1610, the method 1600 may include determining a usagehistory based on the usage of the plurality of queries. In one aspect,this may include usage of the queries themselves, such as when and howoften queries are used, or whether and how they are modified whendeployed by users from the administrative consoles. For example, theusage history may include a popularity of one or more of the pluralityof queries. This may aid in identifying which queries are perceived asuseful so that these queries can be preferentially suggested to users,optimized for higher performance, or otherwise adapted for morewidespread and frequent usage.

In another aspect, the usage history may include a pattern of changes toone or more of the plurality of queries. A variety of useful inferencesare available based on patterns of change. For example, a change,modification, or customization that is consistently requested for aparticular stored query might suggest that the stored query is notoptimal for many users. In this case, the stored query may be updated toreflect this user preference. In another example, different types ofchanges to a popular query may correspond to different threats or othersecurity issues. In this case, a particular modification to a query tofocus on, e.g., events in a particular time window, on particular devicetypes (mobile devices, USB drives, etc., devices with a particularoperating system, etc.), at particular locations (e.g., path names,network locations, etc.), and so forth may be used to draw usefulinferences about a threat or threat resolution in progress.

In another aspect, a pattern of post-query activities initiated from anadministrative console (or other user interface or the like) may providea usage history useful for security analysis. For example, where aparticular query is consistently followed by a particular securityresponse such as remediation, malware scanning, network isolation, andthe like, then the query may be used as an indicator of a correspondingthreat. Similarly, a consistent pattern of post-query activity maysuggest that a particular query is valuable or useful, and the query maybe ranked more highly in lists of queries presented to a user, orsuggested more often in response to user inquiries. Other types ofinferences may also be usefully drawn, such as the addition of a newuser, a structural re-organization of an enterprise, a change in networksecurity policy, and so forth. By enabling a query monitor or similartool to monitor activity at administrative consoles beyond data lakesearch activity, or by providing a local monitoring agent for eachadministrative console, additional context can be made available toassist in recognizing patterns associated with malware threats, threatremediation and so forth beyond what might be discovered basedexclusively on events reported by sensors within the enterprise network.As a significant advantage, this type of monitoring indirectly captureshuman levels of interest and response that might not otherwise beavailable when applying rules to streams of events from the enterprisenetwork. A context in which queries are executed may also or insteadusefully be employed as a part of the usage history, and may includeinformation about a user of the administrative console, additionalglobal threat or security information from sources other than theenterprise network, business value and reputation associated withsecurity events, heartbeats from endpoints that are providing reports,reputation associated with endpoints or endpoint users, and so forth.

Other context may also or instead be used, such as whether an existingworkflow, process, connectivity, or the like has been interruptedimmediately prior to a new query. For example, where an administrativeconsole diverts attention to a particular endpoint or sequence ofevents, this may provide useful context concerning the locus of adeveloping threat. Similarly, threat mitigation activity may provideuseful context for the value of a particular query and the circumstancesunder which the query might be used. Relevant threat mitigation activitymay, for example, include machine isolation, forensic analysis, creationof malware traps, and so forth, as well as additional queries that mightbe used to evaluate how a particular machine became infected or thelike.

As shown in step 1612, the method 1600 may include initiating an actionby the threat management facility based on the usage history. This mayinclude any of a variety of automated remedial actions or the like, aswell as alerts or notifications to administrators or other users thatmay be affected by a security breach. For example, initiating the actionmay include identifying a pattern of queries associated with a knownthreat and generating a recommendation for one or more responsiveremedial actions. Initiating the action may also or instead includeevaluating a usefulness of one of the plurality of queries based on apattern of post-query activity. In another aspect, initiating the actionmay include evaluating a usefulness of one of the plurality of queriesbased on a pattern of query modifications by users.

More generally, any useful action may be initiated by the system basedon aggregated search behavior, context for search behavior, user actionsbefore, during, and after searches, or inferences available fromcombinations of the foregoing. For example, if a particular query ishighly popular, then data for this query may be regularly pre-fetchedfor improved response times. Similarly, where one particular query isvery frequently followed by another particular query, data for thesecond query may be pre-fetched when the first query is initiated. Asanother example, when a particular query is regularly followed byrequests for additional information from local data recorders onendpoints within the enterprise network, the query monitor or some othersuitable automated software agent may initiate requests forcorresponding data from security agents on the endpoints in order tobegin aggregating the anticipated data for use. This may be particularlyadvantageous in contexts where there is some significant expectedlatency in responses from the individual security agents throughout theenterprise network.

In another aspect, a general record of events surrounding a threatincluding, e.g., any of the context described above along with a patternof queries, query modifications, requests for additional data (e.g.,from data recorders), and other query activity or user actions and thelike, may usefully characterize a particular threat in a manner thatpermits subsequent identification of similar threats. For example, thisdata may be converted into training sets for machine learning, and amodel may be trained to detect future threats, or to provide guidance inresponding to threats, based on these observations.

According to the foregoing, there is described herein a system includinga data lake, an administrative console, a database, and a querymonitoring agent. The data lake may store an event stream includingsecurity events from one or more sensors on compute instances in anenterprise network. The administrative console may receive queries fromusers and cause the queries to be executed against the event stream. Thedatabase may store a plurality of queries for execution against theevent stream at the administrative console, the plurality of queriesconfigured to investigate security issues within the enterprise networkbased on the event stream. The query monitoring agent may provide aquery monitor configured to monitor a usage of the plurality of queriesat the administrative console, to determine a usage history based on theusage of the plurality of queries, and to initiate an action by a threatmanagement facility based on the usage history.

FIG. 17 shows a method for augmenting data for use in threatinvestigation. In general, an endpoint in an enterprise network may beinstrumented with sensors to detect security-related events occurring onthe endpoint, e.g., as described herein. Event data from these sensorsmay be augmented with contextual information about a source of eachevent in order to facilitate improved correlation, analysis, andvisualization at a threat management facility for the enterprisenetwork.

As shown in step 1702, the method 1700 may include instrumenting anendpoint in an enterprise network with a sensor and a local securityagent. The sensor may include any of the sensors described herein, andmay be configured to generate an event record in response to an event.The local security agent may be configured to locally receive the eventrecord from the sensor, or otherwise receive event data responsive to anevent occurring on (or detected on) the endpoint.

As shown in step 1704, the method 1700 may include receiving event data,such as event records or the like from sensors on the endpoint.

As shown in step 1706, the method 1700 may include generating a sourceidentifier that identifies a source of the event in a context of thesensor. This may include determining the context of the sensor (e.g.,with the local security agent) by inspecting one or more networkresources associated with the endpoint. In general, this contextualidentifier may augment source identification information using anyinformation locally available to the local security agent and useful fordetermining a source of any corresponding event(s). The sourceidentifier may combine any source identifiers available in the localcontext of the security agent such as one or more logical, physical,and/or virtual identifiers of a source of an event.

For example, the source identifier may include a physical addressassociated with the source, a network address associated with thesource, and at least one temporal address assigned by the endpoint tothe source of the event. As a more specific example, the physicaladdress may include a medium access control address associated with thesource, or any other physical layer address or the like associated witha physical address of the source and/or useful for identifying oraccessing the source, e.g., in a physical layer of a network protocolstack. The network address may, for example, include an InternetProtocol address associated with the source, or any other network layeraddress or the like associated with a network address of the sourceand/or useful for identifying or accessing the source in a network layerof a network protocol stack. The temporal address may, for example,include the name of a process executing on the endpoint that isassociated with the source, a directory location or path name, or anyother transient identifier created by the endpoint to refer to an objector location on the endpoint, or a resource accessible to the network.The temporal address may also or instead include an identifier for atleast one of a user of the endpoint, a device associated with theendpoint, a path associated with a computing object on the endpoint, aprocess executing on the endpoint, an application on the endpoint, orany other address created or assigned by the endpoint or the like. Moregenerally, information on an endpoint may change. Directory structuresmay be altered. Files may be moved or renamed. Processes may be stoppedand restarted with different process identifiers. By capturing suchtransient information around the time that an event occurs, temporaladdress information can provide an improved contextual perspective onthe event, as well as the event's relationship to other events and otherentities in an enterprise network.

Locally augmenting source identifiers can also permit context for anevent to be explicitly associated with other source identificationinformation, which can simplify the identification of associations orcorrelations among events that are being processed remotely from theendpoint. For example, there may be a half dozen sensors on an endpointrecording on a particular Internet Protocol address, without specifyingwhether each is a source of traffic from that IP address, a destinationfor network traffic from that source, a user of a resource at that IPaddress, and so forth. Similarly, an event may have multiple IPaddresses associated with it, without specifying how each IP addressrelates to the event. For example, a firewall may receive threedifferent IP addresses for a network request, such as an IP address foran endpoint, an IP address for a service requested from the endpoint,and an IP address for an authentication system used in connection withthe request. Each of these IP addresses may properly be associated witha network request from the endpoint, but may have differentrelationships to another event from the endpoint, or from a differentendpoint communicating through the firewall. By pre-computing this typeof information at the endpoint and establishing the relationship ofthese various identifiers to an event, e.g., by explicitly identifyingthe relationship of the source with the IP address, and/or by specifyingother address information associated with the source, a threatmanagement facility can more quickly and efficiently analyze events inthe proper context. Similarly, this type of extended sourceidentification permits more accurate targeting of inquiries, analysis,and remediation.

For example, if an attack is detected from an IP address, the threatmanagement facility can more quickly and directly inquire about whatelse in the enterprise network is associated with the IP address, whatother devices or resources have a relationship with the IP address, andso forth. This permits identification of not only an IP address, but aparticular user, a particular process, and the like, as well as a moreaccurate picture of what other network resources (e.g., otherconnectivity pathways), users, and resources are associated with that IPaddress. Similarly, this permits specific associations at particularpoints in time. Thus, for example, an IP address may be explicitlyassociated with a particular MAC address, a particular user and/or aparticular user at the time an event is recorded, even though theserelationships are transient in nature.

The general approach described above advantageously supports joining ofrelevant information to an event record based on local contextualinformation at the point of origin, rather than requiring inferencesabout relationships to be made at a remote threat management facilitywhere multiple event records from multiple sensors and endpoints arereceived. This permits an accurate, local join of the full state of anevent, including information such as a known user, a known process, aknown network adapter (or other hardware), and so forth. In particular,this permits a capture of transient, temporal information that may nototherwise be clearly associated with an event when analyzing data, andin particular, values that may change over time, such as an IP address,a user identifier, a MAC address, an application identifier, a processidentifier, a file hash, and so forth. In one aspect, these temporallabels may be combined or associated with non-temporal information(e.g., a hardware device identifier for an endpoint) to facilitateuseful and accurate correlations during downstream processing.Similarly, this supports improved graph creation and graph navigation bya human investigator, where events, entities, and relationships can bemore accurately identified in order to support pivoting to differentviews or analysis as an investigation proceeds. It will also beappreciated that some or all of this contextual information may bestored on local data recorders unless/until requested or needed by acentral threat management facility.

In addition to augmenting source identification information using localcontext available to the endpoint at the time an event is detected orrecorded, an event may be further augmented with causally related eventsthat are also available in the local context of the endpoint. Forexample, an event may be augmented with an event graph using, e.g., thetechniques described herein. This mini-event graph may, for example,include a relatively small, local collection of causally related events.In one aspect, the mini-event graph may include one or more (causally)immediately preceding events, or one or more (causally) immediatelyfollowing events. In another aspect, the mini-event graph may be ahighly filtered event graph that includes one or two additional eventssuch as a root cause identified for the event, a final action in a graphof events including the event, a known malicious action following, andcausally related to, the event, and so forth. This may also or insteadinclude condensed or summarized events, such as by condensing anauto-save or a copy to a USB drive as a single, summarized event inplace of any number of related literal events associated with aparticular user action or computer activity.

As shown in step 1708, the method 1700 may include creating a modifiedevent record by appending the source identifier to the event record.This modified event record can include the event record from the sensor,along with any relevant event details, as well as an augmented sourceidentifier as described above based on information available to a localsecurity agent for the endpoint. This source identifier may usefullyidentify a source of the event in a context of the sensor and/orendpoint.

As shown in step 1710, the method 1700 may include storing the modifiedevent record in a data recorder on the endpoint. This permits locallogging with any desired duration or level of granularity independent ofstorage requirements or restrictions at a threat management facilitythat might receive the modified event record. Thus, for example, if aremote threat management facility determines that a particular modifiedevent record is not immediately relevant or useful, the local datarecorder may nonetheless retain a copy in case a request for additionalinformation is subsequently received from the threat managementfacility. The method 1700 may also or instead include storing aplurality of modified event records in the data recorder such as astream of modified event records from multiple sensors on the endpoint,e.g., according to any logging policy, storage restrictions, or otherconsiderations. In general, this permits the data recorder (e.g., undercontrol of the local security agent) to respond to queries fromresources external to the endpoint for additional data stored in thedata recorder.

As shown in step 1712, the method 1700 may include transmitting themodified event record to a threat management facility.

As shown in step 1714, the method 1700 may include processing themodified event records, along with any other available information, at aremote threat management facility such as any of the threat managementfacilities described herein. In general, a relationship of one of themodified events record with one or more other modified event recordsstored at the threat management facility may be determined based onsource identifiers that have been augmented with contextual data asdescribed herein before transmitting to the threat management facility.A variety of useful tools for, e.g., forensic analysis, threatinvestigation, policy compliance, and so forth, may be performed at athreat management facility based on these modified event records.

For example, the method 1700 may include providing a user interface fromthe threat management facility for navigating a chain of events based onrelationships among a plurality of source identifiers in a plurality ofmodified event records received at the threat management facility. Thismay include a display of associations among source identifiers thatpermits a user to navigate from source to source based on overlapping orotherwise related source identifiers in the augmented event record data.Similarly, the user interface may be configured to support navigating achain of events based on relationships among a plurality of sourceidentifiers in a plurality of modified event records, e.g., bydisplaying events in a graph, along with associations among the nodesthat are identified or inferred based on the modified event records. Themethod 1700 may also or instead include creating a graph that causallyassociates two or more events based on a plurality of source identifiersin a plurality of modified event records received at the threatmanagement facility, which may be displayed in the user interface, orotherwise used to process or analyze collections of events based on themodified event records.

In another aspect, this may include processing a stream of modifiedevent records to evaluate security threats to an enterprise network,e.g., using any of the various techniques described herein, to detectthreats and track causal chains of events back to a root cause.Similarly, processing may include processing a stream of modified eventrecords at the threat management facility to evaluate a security stateof the endpoint, e.g., by ensuring that particular events are associatedwith suitable users or processes, and so forth. In one aspect, sequencesof events may be associated with one another, e.g., by determining arelationship of a source identifier for one event with one or more othersource identifiers in modified event records received at the threatmanagement facility. In another aspect, processing the stream ofmodified event records at the threat management facility may includededuplicating one or more event records based on a reconciliation ofsource identifiers. Other techniques for processing streams of modifiedevent records may also or instead be employed.

In one aspect, there is disclosed herein a system including a localsecurity agent executing on an endpoint and configured to receive datacharacterizing an event from a sensor on the endpoint; to generate anevent record in response to the event; to determine a context of thesensor including a physical address associated with a source of theevent and a temporal address assigned by the endpoint to the source ofthe event; to append a source identifier to the event record thatidentifies the source of the event including the context of the sensor,thereby providing a modified event record including the event record andthe source identifier; and to transmit the modified event record to aremote resource. The local security agent may also or instead processevents and augment event records to create modified event records asmore generally described herein.

The system may also include a threat management facility such as any ofthe threat management facilities described herein. The threat managementfacility may, for example, be configured to receive a stream of modifiedevent records from a plurality of endpoints in an enterprise networkthat includes the endpoint, and to evaluate security threats to theenterprise network based on the stream of modified event records, or tootherwise process a stream of modified event records as describedherein.

FIG. 18 shows an augmented threat investigation system. In general, thesystem 1800 may include a user interface 1802 for threat investigationthat provides access to threat-related data from multiple sources suchas an endpoint 1804, a threat management facility 1806, a cloud service1808, and a third party service 1810. As disclosed herein, a platformfor managing threat data using the augmented threat investigation systemof FIG. 18 may integrate threat data from a variety of sources includinginternal threat data from instrumented compute instances associated withan enterprise network and threat data from one or more independent,external resources. Threat assessments may be incrementally revised asthis threat data is asynchronously received from various sources, and athreat investigation container may be automatically created andpresented to an investigator when a composite threat score for one ormore of the compute instances meets a predetermined threshold.

The user interface 1802 may be any of the user interfaces describedherein and may be hosted, for example, on a host 1803 for a threatmanagement facility 1806 or other network resource for use in managingnetwork security and investigating potential security threats, andrendered on any suitable end user device. The user interface 1802 may bea web-based interface, or other proprietary interface or the likesuitable for access and use by a technician responsible for networksecurity matters for a managed domain such as an enterprise network orthe like. As described herein, the user interface 1802 may be presentedby the threat management facility 1807, e.g., in a display to a usersuch as an administrator, technician, or other security personnel oruser. The user interface 1802 may generally provide interactive accessto the threat management facility 1806, the data lake 1807, and anyassociated sources of security data as described herein. The threatmanagement facility 1806 may be configured to transmit a link to theuser interface 1802 in a message to the user such as an electronic mailmessage, a text message, or a pop-up window in a threat managementfacility interface.

The user interface 1802 may be associated with an investigationcontainer such as any of the investigation containers described herein,which may be configured to support augmented threat investigation asdescribed herein. For example, the user interface 1802 may include acontrol for requesting additional event data captured by a data recorderof one of the plurality of compute instances for a time window prior tocreation of the investigation container. The user interface 1802 mayalso or instead include a control for adjusting a filter applied by oneof the plurality of compute instances to a local event stream whenselecting local security events to communicate on the event stream tothe data lake. The user interface 1802 may also or instead include atool for querying the data lake.

An endpoint 1804, which may be any of the endpoints or other computeinstances described herein, may include a local security agent such asany of the local security agents described herein. The local securityagent may detect an event (or more specifically, receive a detectionfrom a sensor on the endpoint 1804) and forward a local threatindication to the host 1803, either as an individual event or in anevent vector containing other contemporaneous event data. This may, forexample, include data pre-computed on the endpoint 1804 such as aseverity score, a threat classification (such as a MITRE classificationor the like), or other contextual information related to the detectedevent, any of which may be used by the host 1803 for display within theuser interface 1802, or as a basis for additional queries orinvestigation to identify other information potentially relevant to aninvestigation of a potential threat. Although not depicted, it will beunderstood that the endpoint 1804 may be coupled to an enterprisenetwork that includes, or is associated with, the threat managementfacility 1806 and other components such as the host 1803 for the userinterface 1802 and the data lake 1807.

While depicted as a single endpoint 1804, it will be understood that theenterprise network may more generally include a plurality of computeinstances. For example, the plurality of compute instances may includeat least one network device such as a switch, a router, a wirelessaccess point, a gateway, a firewall, and so forth. In another aspect,the plurality of compute instances may include at least one virtualcomputing device hosted on a virtualization platform such as a virtualdesktop infrastructure or other cloud computing resource or the like.

In general, the security events provided from these compute instancesmay include asynchronous data that is locally gathered and transmittedincrementally as the data is acquired by the compute instances, e.g., atunknown, unscheduled, and/or unsynchronized time intervals from thevarious compute instances. In another aspect, the security events mayinclude batch data from one or more of the plurality of computeinstances. In one aspect, the batch data may be gathered and transmittedat scheduled intervals. In another aspect, the batch data may beasynchronously communicated, e.g., in response to local triggeringevents such as a local threat detection, a change in computing activity,or an accumulation of batch data meeting a predetermined threshold forduration, size, or activity type. In one aspect, the security events mayinclude threat detection data from a local security agent executing onone of the plurality of compute instances, and/or from multiple localsecurity agents on multiple compute instances.

A threat management facility 1806 may provide information relevant tothreat detection and investigation. For example, the threat managementfacility may receive event data from the endpoint 1804 and otherendpoints within an enterprise network. In one aspect some such data maybe used in raw form by the host 1803 for display in the user interface1802. In another aspect, the event data may be processed by the threatmanagement facility 1806 to generate a contextual threat score for theevent detected by the endpoint 1804 based on, e.g., other events orcontext for the endpoint, other events within an enterprise network, orany other available data. As described herein, in one aspect, the threatmanagement facility 1806 may be configured by computer executable codeor the like to perform the step of updating a composite threat scorebased on the number of sources of security data as the event stream isasynchronously received from the number of sources of security data. Inanother aspect, the threat management facility 1806 may be configured bycomputer executable code or the like to perform the step ofautomatically creating an investigation container for interactiveinvestigation of security risks when the composite threat score meets apredetermined threshold for initiating an investigation.

As described herein, the threat management facility 1806 may beconfigured to support augmented threat management in a variety of ways.For example, the threat management facility 1806 may be configured tocalculate a composite threat score for a compute instance by mapping thesecurity events in the event stream to an attack matrix that enumeratesmalware strategies in a first dimension and malware techniques for eachof the malware strategies in a second dimension. Based on this mapping,the threat management facility 1806 may calculate the composite threatscore based on a pattern of traversal of the attack matrix by achronology of the security events. The threat management facility 1806may also or instead be configured to calculate the composite threatscore by applying a machine learning algorithm to the pattern oftraversal of the attack matrix to determine a likelihood of threat. Inanother aspect, the composite threat score may also or instead includetwo or more scores based on two or more of the number of sources ofsecurity data. In this case, the predetermined threshold for launchingan investigation container (or otherwise creating an alert or the like)may be based on an aggregated threshold for the two or more scores, or aseparate threshold for each of the two or more scores. In anotheraspect, the threat management facility 1806 may be configured to revisethe composite threat score downward when a false positive is identified,and in response, to automatically close the investigation container whenthe composite threat score meets a second predetermined threshold forterminating the investigation. That is, where objective evidenceindicates a decreased risk posture, an automatically createdinvestigation container may be deleted or otherwise disposed of withoutrequiring further administrative intervention.

A data lake 1807, such as any of the data lakes described herein, maygenerally receive an event stream including events from a plurality ofsources of security data, such as any of the events, event streams, anddata sources described herein. In one aspect, this may include datasources from within the enterprise network such as security events fromone or more sensors on the plurality of compute instances coupled to theenterprise network. Other types of events from internal sources mayusefully be included in the event stream for the enterprise network. Forexample, the threat management facility 1806 and/or host 1803 may beinstrumented with a monitor for a query interface to the data lake 1807.As described herein, the pattern of queries and responsive activitiesfrom within an administrative console may provide useful information fordetecting and remediating threats in the enterprise network. And assuch, the monitor for the query interface may provide a useful source ofsecurity data for the event stream.

The data lake 1807 may also or instead receive data from data sourcesexternal to, but associated with, the enterprise network such as cloudresource data from a cloud service 1808 supporting the plurality ofcompute instances coupled to the enterprise network. For example, thecloud service 1808 may include one or more of a web application, a cloudstorage service, an electronic mail application, and an authenticationservice, a zero trust network access resource, a cloud computingservice, and a virtualization platform. In another aspect, the cloudservice 1808 may include a network monitor executing on a third-partyfirewall and securely coupled to the threat management facility 1806.This latter embodiment may be useful, for example, where a firewall orother third-party component can locally log information useful forthreat analysis, but does not provide a secure interface for accessingsuch local logs. To address this security issue, a network monitor maybe installed on the firewall to provide a secure communicationsinterface for remote access to the local data log of security events.The network monitor may automatically stream data at suitable intervals,or may be configured to respond to remote queries for log data, or somecombination of these.

The data lake 1807 may also or instead receive data from data sourcesexternal to, and independent from, the enterprise network such ascontextual data for activity by the plurality of compute instances froma third-party service 1810. Useful contextual data may, for exampleinclude geolocation data from a third-party service that provides ageolocation for a compute instance, resource, threat sample, or thelike. Geolocation data may, for example, be based on active geolocationusing Global Positioning System data, cellular network triangulationdata, WiFi network signal strength analysis, or the like, or passivegeolocation using, e.g., Internet Protocol (IP) address lookups forlocation data correlated to an IP address for a device. In anotheraspect, useful contextual data may include threat detection data fromthird party threat management services. For example, this may includethreat classification, threat identification, signature analysis, and soforth, provided by one or more remote resources based on data availableon the event stream or in the data lake, e.g., from the plurality ofcompute instances.

As generally indicated by an arrow 1806, the threat management facility1806 and the endpoint 1806 may be connected to an associated enterprisenetwork, and may share data and control information for management ofsecurity for the associated enterprise network. It will be understoodthat, while illustrated as a separate entity, the threat managementfacility 1806 may be the same as the host 1803 for the investigativeuser interface 1802, or collocated with the host 1803 and the data lake1807, or otherwise coupled in a communicating relationship with thesecomponents, as generally indicated by an outline 1805 enclosing theseentities. In another aspect, the host 1803 may be operated by a thirdparty independently from a threat management facility 1806 for anenterprise network, so that either a technician for the enterprise canlog in and use the user interface 1802 or a third party security servicecan use the host 1803 and user interface 1802 to manage security on anoutsourced basis for an enterprise network managed by the threatmanagement facility 1806.

In one aspect, the threat management facility 1806 may use a data lake,such as any of the data lakes or similar repositories of event streamdata as described herein, to store information related to eventsoccurring within a managed estate, any of which may be useful forinvestigating potential threats as described herein.

The cloud service 1808 may be any cloud service, application platform,data facility, or the like that provides user access to data andservices in the cloud. In one aspect, the cloud service 1808 may be azero trust network access resource providing secure access toapplications and the like for users associated with an enterprisenetwork. In another aspect, the cloud service 1808 may include a clouddata warehouse or other remote data storage facility. The cloud service1808 may also or instead include a cloud computing platform, asoftware-as-a-service (SaaS) solution, or other cloud-based service orcombination of services. In one aspect, the cloud service 1808 mayinclude an authentication service, identity management platform, or thelike used to identify and authenticated authorized users for variousnetwork resources. In another aspect, the cloud service 1808 may includea network monitor associated with third party network infrastructure orthe like. For example, a firewall or other network hardware may beinstrumented with a network monitor configured to obtain local activitylogs and report these to other entities through a secure communicationchannel.

The cloud service 1808 may provide a range of information useful forinvestigating potential threats associated with the endpoint 1804. Forexample, the cloud service 1808 may provide application usagestatistics, file or data transfer activity, logins and login attempts,and so forth. The cloud service 1808 may also or instead report onadministrative activity such as new accounts, authentication histories,and so forth. In one aspect, the cloud service 1808 may also or insteadexpose underlying data that may be helpful in assessing threats. Forexample, where a user's electronic mail account is hosted on a cloudservice 1808, electronic mail traffic (inbound, outbound, or both) maybe analyzed to investigate, e.g., potential sources and targets ofmalicious activity. Other platforms such as ecommerce accounts, socialmedia accounts, and the like, may also usefully be analyzed forrelationships to potential malicious activity absent privacyrestrictions or the like. While a single cloud service 1808 is shown, itwill be understood that any number of cloud resources 1808 may be usedby an endpoint 1804, and may provide data to a host 1803 as generallydescribed herein.

The third party service 1810 may be any third party security serviceuseful for identifying and/or investigating potential threats. Forexample, this may include a classification service such as MITRE ATT&CK™which provides a framework for categorizing security threats deployedbased on patterns of malicious tactics and techniques. As anotherexample, this may include a dictionary of threat signatures or a realtime database of active threats. More generally, any third partyresource for identifying, characterizing, or responding to variousthreats may be used as a third party resource as described herein. Inone aspect, MITRE data may be used to provide human readablecategorizations and descriptions for potentially malicious activitydetected on the endpoint 1804.

According to the foregoing, in one aspect there is described herein asystem including a plurality of compute instances coupled to anenterprise network, a data lake storing an event stream from a number ofsources of security data, the event stream including, and a threatmanagement facility. The event stream may, for example, include securityevents from one or more sensors on the plurality of compute instancescoupled to the enterprise network, cloud resource data from a cloudservice supporting the plurality of compute instances coupled to theenterprise network, and contextual data for activity by the plurality ofcompute instances from a third-party service. The threat managementfacility may be configured to perform the steps of updating a compositethreat score based on the number of sources of security data as theevent stream is asynchronously received from the number of sources ofsecurity data, and automatically creating an investigation container forinteractive investigation of security risks when the composite threatscore meets a predetermined threshold for initiating an investigation.

FIG. 19 shows an architecture for obtaining security data from a thirdparty service. In general, the system 1900 may use an enrichment brokeror the like to inspect messages in an event stream, and then accessexternal resources such as a geolocation service or a threat informationservice in order to enrich data in the event stream before persistentstorage in a data lake.

A compute instance 1902, such as any of the endpoints or other computeinstances described herein, may execute a local security agent that isinstrumented to store local events in a data recorder and publish thedata on any suitable schedule. The events may be any of the events,detections, and the like described herein, and the data recorder mayinclude any of the data recorders described herein. As described herein,the compute instance 1902 may be associated with an enterprise networkthat is managed by a threat management facility.

An ingest service 1904 may execute on the compute instance 1902 orexternally from the compute instance 1902, and may be deployed forexample, using a microservices architecture to support flexibility andscalability. In general, the ingest service 1904 may receive (orrequest/retrieve) events 1906 from the compute instance 1902, format theevents 1906 as needed, and publish the events 1906 to an event stream1908. It will be understood that an “event” may include any of theevents described herein, including events detected by a computeinstance, events stored in a data store, threat detections and otherindications of compromise derived from such events, events published tothe event stream, augmented events that are enriched or otherwiseprocessed on the event stream, and events stored in the data like.Although the format and content of such events may vary significantly,all such events are intended to be included in the scope of the term“event” unless a different meaning is explicitly provided or otherwiseclear from the context.

The event stream 1908 may include any infrastructure, including hardwareand software, suitable for managing and processing a stream of events.This may, for example, include any of a number of commercially availableevent processing technologies, data stream management systems, and thelike, as well as proprietary event processing platforms with similarcapabilities, and/or combinations of these suitable for use in anevent-driven information system. In general, the event stream 1908 maysupport event visualization, event storage, event-driven processing,complex event processing, and so forth.

The system 1900 may include one or more enrichment workers 1910, whichmay monitor events 1906 on the event stream 1908, and enrich theseevents 1906 in any suitable manner. This may include formatting theevents 1906 according to one or more schemas for the event stream 1908,normalizing the events 1906 for consistent representation of events 1906from different sources, filtering the events 1906 to remove duplicate orunnecessary data, augmenting the events 1906 to provide additional data,mapping event data to known threat types, processing events 1906 togenerate additional events 1906 for publication to the event stream1908, and so forth.

While enrichment workers 1910 may usefully facilitate datanormalization, filtering, deduplication, augmentation, and the likebased on internal rules for an enterprise network, the system 1900 mayalso employ one or more enrichment brokers 1912 for enriching events1906 in the event stream 1908 using external resources. Thisarchitecture advantageously provides a bridge to a wide range ofexternal resources useful in detecting, identifying, and remediatingthreats to an enterprise network. The enrichment broker 1912 maygenerally monitor events 1906 on the event stream 1908, request datafrom one or more external resources based on event data in in the events1906, and provide responsive data and analysis from the externalresources. The responsive data may be used to enrich the correspondingevents 1906, e.g., by writing directly to one or more fields in a schemaof an existing event, or to create new events 1906 for publication tothe event stream 1908, or some combination of these.

For example, in one aspect, the enrichment broker 1912 may access ageolocation service 1914 remote from the enterprise network and providedby a third party in a manner accessible to the enrichment broker 1912through a data network. In one aspect, the geolocation service 1914 mayrespond to a request containing an IP address by providing any availablegeolocation data available for that IP address, including, by way ofexample and not limitation, a city, a state, a country, a country code,a postal code, a latitude, a longitude, and any other locationinformation associated with the IP address. In another aspect,additional identifying information may be provided to the geolocationservice 1914 such as a MAC address or other machine identifyinginformation, where such information can be used by the geolocationservice 1914 to improve an accuracy of location of a device.

As another example, the enrichment broker 1912 may access a securityresource such as a threat information service 1916. In this context, theenrichment broker 1912 may provide a hash, metadata, code sample, or thelike for a computing object such as a file or the like contained in orotherwise associated with one of the events 1906. The threat informationservice 1916 may respond with reputation data such as, for example, areputation score associated with the computing object, a detection namesuch as a malware type and/or family for the computing object, and areputation band that categorizes the computing object or the reputationscore associated with the computing object using discrete bins or riskranges. For example, the reputation bands may include a category formalware, possibly unwanted application, unknown application, or knowngood application. A threat information service 1916 may also or insteadprovide other information based on an analysis of a computing objectsample. For example, the threat information service 1916 may provideremediation strategies, source identification, cryptographicauthentication, or any other data useful for analyzing or assessingrisks associated with computing objects and related events 1906 on theevent stream 1908.

Other services may also or instead be used to enrich data on the eventstream 1908. For example, this may include third party security servicesthat identify or characterize risks, machine learning servicesconfigured to identify confidential or sensitive information (such asaddresses, names, account numbers, and so forth), key managementsystems, and so forth. In another aspect, the service may include alookup service that analyzes, e.g., file hashes, URLs, IP addresses, orother contextual data or metadata associated with an event. In anotheraspect, services such as a sandbox or other analytics tool may beprovided, e.g., to execute code samples in a safe environment andprovide any resulting analysis.

The system 1900 may include a data lake ingest service 1918 thatgenerally serves to persist the enriched and augmented data on the eventstream 1908 to the data lake 1920 in a manner that is consistent andqueryable. This may include storing the events 1908 using any suitableschemas, which may be managed in a schema registry or the like. The datalake ingest service 1918 may also further augment data, e.g., by addinga customer identifier so that different events 1906 associated withdifferent customers may be individually tracked, managed, and analyzedin the data lake 1920. The data lake 1920 may include any of the datalakes described herein, and may be accessed through a user interfacehosted, e.g., by a threat management facility for the enterprisenetwork.

FIG. 20 shows an architecture for obtaining security data from a cloudservice. While an enrichment broker may conveniently access externalresources to enrich data on an event stream (e.g., the event stream 1908described above), an enterprise network may also use any of a variety ofcloud services to support users associated with the enterprise network.This can create additional challenges such as accessing user data andapplication usage data from the cloud service(s) and converting anyresulting data feeds to be consistent in form and content with data inthe data lake from other sources.

In general, a system 2000 may include events 2002 on an event stream2004, such as any of the events and event streams described herein. Theevents 2002 may be processed by a data lake ingest service 2006, such asany of the ingest services described herein, for persistent storage in adata lake 2008, such as any of the data lakes described herein, forsubsequent search and analysis.

A compute instance 2010 associated with an enterprise network, such asany of the compute instances described herein, may use a cloud service2012 that supports users associated with the enterprise network. Forexample, a user at the compute instance 2010 may log in to a useraccount 2016 at the cloud service 2012, e.g., by authenticating to thecloud service 2012 with user credentials, authentication factors, orother data that identifies the user to the cloud service 2012.

The cloud service 2012 may include any remote computing resource,service, or the like that is external to an enterprise network, andaccessible to users associated with the enterprise network through adata network or internetwork such as any combination of the public orprivate data networks described herein. For example, the cloud service2012 may include an application platform such as Office 365 provided byMicrosoft corporation, or any other similar network-accessibleapplication suite for, e.g., electronic mail, document processing,presentations, spreadsheets, databases, and so forth. The cloud service2012 may also or instead include a cloud storage service including filestorage resources, databases, backup utilities, and so forth. In anotheraspect, the cloud service 2012 may include a cloud computing platformthat provides computing resources for deploying applications, virtualservers, and so forth. In another aspect, the cloud service 2012 mayinclude a virtualization platform for instantiating virtual computeinstances for the enterprise network. Thus, by way of non-limitingexamples, the cloud service 2012 may include any combination of anelectronic mail application, a cloud storage service, a cloud computingservice, a virtualization platform, an authentication service, anidentity management platform, a web application, a zero trust networkaccess resource, a social networking platform, a multi-tenant database,a virtual reality or augmented reality resource, and so forth.

In one aspect, a non-cloud resource may be configured to behave as acloud resource for purposes of event monitoring. For example, anenterprise network may include a third-party firewall that logs trafficdata locally. While it may be advantageous to publish log data from thefirewall to the event stream 2004, the firewall may not includecapabilities for secure external data communications. In this case, anetwork monitor may be installed on the firewall to communicate securelywith external resources on one hand, and to query and report data fromthe firewall data log on the other. Thus, in one aspect, the cloudservice 2012 may include a network monitor executing on a device such asa third-party firewall that is configured to provide a remote, secureinterface to events locally detected on the device.

Once a user has accessed the cloud service 2012, the cloud service 2012may internally generate cloud resource data of interest in threatinvestigation and management. For example, this may includeauthentication to the cloud service 2012, or the use of an identitymanagement platform to authenticate to some other service. This may alsoor instead include administrative events at the cloud service 2012 suchas user account changes, account permissions or preferences,notification rules, forwarding rules, and so forth. In another aspect,this may include application activity at the cloud service 2012initiated from the compute instance 2010, such as opening, editing,sending, creating, or retrieving files, or other activities such as filesearches, file sharing, and the like. For other tools such as anelectronic mail server, this may include mail reading activity, as wellas responses, deletions, handling of attachments, and so forth. It willbe understood that by monitoring cloud resource data directly in or fromthe cloud service 2012, it may be possible to perform detections thatare not possible by monitoring user activity directly. For example, if auser receives a large number of suspicious messages and/or attachments,or if a group of files are transmitted to an unknown address, this maybe detected without the user accessing the corresponding electronic mailaccount.

In order to support the acquisition of cloud resource data in thismanner, an administrator, e.g., an administrator of a threat managementfacility for an enterprise network, may log in to the cloud service 2012from a second compute instance 2014 with an administrative or masteraccount for the enterprise network. Using administrative ApplicationProgramming Interfaces (APIs) for the cloud service 2012, theadministrator may configure a streaming service 2020 to monitor useraccount activity and publish any corresponding events 2002 to the eventstream 2004. It will be noted that the streaming service 2020 isillustrated as a component of the cloud service 2012. Some cloudservices have built in reporting or streaming services that may usefullybe configured to publish events 2002 to the event stream 2004 asdescribed herein. In another aspect, the cloud service 2012 may providea programming environment that permits the administrator or othersecurity personnel to create and deploy a service, process, application,or the like within the computing environment of the cloud service 2012for performing these functions. Although not illustrated in FIG. 20 , itwill be understood that the streaming service 2020 may also or insteadbe deployed partially or wholly external to the cloud service 2012 in amanner that queries the cloud service 2012 for user account activity andpublishes corresponding cloud resource data to the event stream 2004.For example, an application executing on the cloud service 2012 may pulllog and activity data from the cloud service 2012, and an externalmicroservice or the like may convert the activity data into events 2002for publication to the event stream 2004 using a schema for the eventstream 2004 and/or data lake 2008.

By way of non-limiting example, in a Microsoft Office 365 environment,an administrator may create a master application and add the applicationto resources of the cloud service 2012. The credentials for this masterapplication may be saved at the threat management facility to facilitateadministrative access to the cloud environment through administrativeAPIs 2018 that support, e.g., event graphing, identity management,authentication, application platform features and settings, and soforth. Audit capabilities of Office 365 may then be enabled through theadministrative APIs 2018, and an application for a streaming service2020 may be deployed in the cloud environment using the masterapplication credentials. When executing on the cloud service 2012, thestreaming service 2020 may ingest activity logs (e.g., for all usersassociated with the Office 365 customer) from the Office 365 auditfunctions and process these activity logs for publication to the eventstream 2004. For example, the cloud resource data provided from thecloud service 2012, e.g., audit data from Office 365, may be filtered(e.g., to remove data that is not relevant to threat detection andmanagement), mapped to a schema used by the event stream 2004 and/ordata lake 2008, and transformed so that event descriptions, threatdetections, and the like provided from the cloud service 2012environment accurately match corresponding items in the schema used bythe data lake 2008. The streaming service 2020 may usefully provide alist of known users associated with an enterprise. In one aspect, thestreaming service 2020 may add user information to events, e.g., toidentify a user (by an email address, user principal name, or otheridentifier) associated with each event. In another aspect, e.g., wherethe cloud service 2012 and/or data lake 2008 are deployed asmulti-tenant databases, a customer identifier may be added to events2002 to permit identification of the customer and an associatedenterprise network within data in the event stream 2004 and the datalake 2008.

In this manner, cloud resource data for a complex enterprise systemincluding data such as cloud computing statistics, network utilization,email server activities, identity management requests, and the like mayusefully be monitored in an event stream 2004 independent from endpointreporting. The events 2002 published to the event stream 2004 from thecloud service 2012 may also be augmented or enriched using any of thetechniques described herein, such as the techniques described withreference to FIG. 19 above.

FIG. 21 illustrates a method for threat detection using an attack matrixand data lake queries. This method 2100 may be deployed on one or moreof the systems and devices described herein, and the steps of thismethod 2100 may be used alone or in any suitable combination with thesteps of other methods described herein. In general, a threat managementsystem may store an attack matrix characterizing tactics and techniquesexploited by malware for various malicious actions. The threatmanagement system may detect events on an endpoint or within anenterprise network, map these events to the attack matrix, and thenprovide threat detection based on patterns of traversal of the attackmatrix. Where the threat management system provides a data lake ofsecurity events and a query interface for using the data lake toinvestigate security issues, useful inferences may also be drawn bycomparing query activity in the query interface with the patterns oftraversal of the attack matrix, such as by using a malicious pattern oftraversal to identify a concurrent chain of queries indicative of athreat, or by presenting separate threat scores to an analyst based onquery activity and patterns of traversal.

In the following description, the event stream, security events,sensors, compute instances, enterprise network, compute instances, datalake, query interface, administrative consoles, threat managementfacilities, and other components may be any of the correspondingcomponents described herein.

As shown in step 2102, the method 2100 may begin with storing an attackmatrix such as the attack matrix described with reference to FIG. 22 .In general, the attack matrix may enumerate malware strategies in afirst dimension and a number of malware techniques for each strategy ina second dimension. This may also include storing data to supportmalware detection using the attack matrix. For example, this may includestoring a number of rules or the like for detecting malware based onpatterns of traversal, or storing a machine learning model trained torecognize malware based on patterns of traversal.

As shown in step 2104, the method 2100 may include receiving an eventstream including a plurality of security events from a plurality ofsensors on a plurality of compute instances in an enterprise network.

As shown in step 2106, the method 2100 may include storing the eventstream, for example in a data lake that provides a query interface toone or more administrative consoles of a threat management facility. Theevent stream may also or instead be stored in any suitable persistent ortransient storage medium suitable for the purposes described herein.

As shown in step 2108, the method 2100 may include identifying a patternof traversal of the attack matrix indicative of a malware threat on oneof the compute instances based on two or more of the security events inthe data lake. This may, for example, include two or more securityevents detected on a single compute instance, or two or more securityevents detected on a number of compute instances in the enterprisenetwork, or some combination of these.

In general, a pattern of traversal of the attack matrix may correspondto a chronological deployment of particular techniques detected on thecompute instance. Where this pattern reflects a sequence of techniquestypically used in order to maliciously access or control a computingdevice, the pattern may indicate a corresponding malware threat on thedevice. For example, the pattern may be indicative of an item of malwareon the compute instance performing a series of specific tasks infurtherance of a malicious objective. The pattern may also or instead beindicative of a breach of the enterprise network, such as a breachexposing control of a compute instance that might lead to, but has notyet resulted in, a compromise of data and/or compute instances in theenterprise network. As a significant advantage, tracking a chronologicalsequence in which known strategies and tactics are deployed, morespecifically by mapping security events to the attack matrix, may permitthe identification of developing malware attacks based on recognizableattack strategies even in the absence of specific malware signatures orcode behavior.

A variety of techniques may usefully be employed to identify patterns oftraversal indicative of malicious activity. For example, a machinealgorithm may be trained to identify malicious patterns based on atraining data set that associates one or more patterns of traversal withone or more known malware instances, or more generally, with a trainingdata set labeled with known benign and malicious traversal patterns. Inthis manner, a machine learning detection model may be deployed thatreceives traversal patterns, e.g., as ordered sequences of techniques inthe attack matrix, and generates a detection output such as a likelihoodof the presence of malware or a probability of each of one or morespecific types of attacks. In another aspect, identifying the patternmay include applying one or more rules that specify an order oftraversal within the attack matrix associated with malicious activity.More generally, any technique or combination of techniques useful foridentifying malicious activity based on an ordered sequence of specifictechniques may be used in combination with the attack matrix to supportdetection or risk scoring as described herein.

It will be understood that, while a pattern of chronological traversalof the attack matrix may usefully be employed in this context, themethod 2100 may also or instead include identifying a pattern ofcoverage of the attack matrix. That is, a pattern within the attackmatrix based on two or more security events, e.g., security events inthe data lake, may be indicative of a malware threat on one or more ofthe compute instances. This may include a scope of the pattern, e.g.,where security events appear in the attack matrix, as well as afrequency of the pattern, e.g., how many occurrences of one or moresecurity events appear in a cell of the attack matrix (or a number ofcells in the attack matrix). Thus, it will be understood that, while achronological pattern of events is emphasized herein as an indicia ofpossible malware, a spatial pattern and or numerical pattern of eventswithin the attack matrix may also or instead be used without departingfrom the scope of this disclosure, and all such patterns are intended tobe included in a pattern as that term is used herein, unless a morespecific meaning is explicitly provided or otherwise clear from thecontext.

As shown in step 2110, the method 2100 may include creating a firstthreat score for one of the compute instances based on the pattern oftraversal of the attack matrix. In one aspect, scoring may be performeddirectly, such as by converting an output of a machine learning modelinto a score using any suitable scaling, weighting, quantization,categorization, or the like. In another aspect, multiple outputs of adetection model such as the machine learning model may be weighted basedon corresponding risks of different types of potential threats. Thus,for example, the threat score may include a weighted sum ofprobabilities of different types of threats, as identified by a machinelearning model. In another aspect, e.g., where a rules-based techniqueis used, the threat score may be based on a type of malware predictedusing one or more detection rules, or as a weighted sum of probabilitiesfor different types of threats indicated by the rules based technique.

In general, the pattern within the attack matrix used for threatscoring, whether a spatial pattern, a numerical frequency pattern, or achronological pattern, may include events from any one or more endpointswithin the enterprise network. It will also be understood that a windowfor aggregating events within the pattern may be fixed, variable, orsome combination of these. For example, in one aspect, events may simplybe grouped by date and used for pattern detection based on occurrence ona single day. In another aspect, a pattern for each individual endpointmay include two or more days, e.g., where a pattern is related todetection of complex patterns or slowly and incrementally deployedmalware. In another aspect, the window for pattern detection may bevariable, e.g., where one or more events are known to be potentiallyrelated to an attack with a long deployment timeframe. In this lattercase, a standard window of, e.g., one day may be used for detectingpatterns, while the window for accumulating events into a pattern may beextended when a number of initial events indicate that additional timemay be useful for certain detection types.

As shown in step 2112, the method 2100 may include monitoring otheractivity to assist in threat detection. For example, this may includemonitoring a usage of the query interface for the data lake, e.g., bytracking a plurality of queries to the data lake from one or moreadministrative consoles. Query activity may be used, e.g., as describedherein, to detect patterns of query indicative of a threat, or to createdetection rules based on a correlation of the query activity to a threatthat is detected based on patterns within the attack matrix. It will beunderstood that other activity may also or instead be used to assist indetection as described herein. For example, in one aspect, detectionbased on patterns within the attack matrix may be combined withindividual detections from an endpoint, e.g., where individualdetections are used to identify the locus of a general threat detectedwith the attack matrix, or where patterns within the attack matrix areused to verify or further investigate individual endpoint detections ofuncertain conviction.

As shown in step 2114, the method 2100 may include creating a secondthreat score for one of the compute instances based on the usage of thequery interface. In general, this may include using any of thetechniques described herein to assess a likelihood of risk based on apattern of queries to the data lake, along with any other availablecontextual information where such information assists in assessingmalicious activity within the enterprise network. For example, this mayinclude creating the second threat score based on a pattern of usage ofa number of stored queries for the query interface, or creating thesecond threat score based on a change to one of a number of storedqueries for the query interface. For example, where a user requests datain a particular order, or makes a specific change to a pre-existing,stored query, e.g., to expand a search or focus on a particular type orsource of data, this may indicate an expanding threat investigationsuggesting a higher potential risk or higher likelihood of compromisewithin the enterprise network.

As shown in step 2116, the method 2100 may include presenting the firstthreat score and the second threat score in a display of one of theadministrative consoles when at least one of the first threat score andthe second threat score meet a predetermined threshold. This may, forexample, include separately displaying each of the threat scores, ordisplaying a composite threat score based on the first threat score, thesecond threat score, and/or one or more other scores such as any of thethreat scores described herein. In one aspect, presenting the firstthreat score and the second threat score in the display may includepresenting an alert in the display that provides a link to additionaldata concerning the first threat score and the second threat score, suchas descriptions of supporting query behavior, attack matrix traversal,and the like, as well as other objective risk data relating to thecompute instance and/or the enterprise network.

In one aspect, the predetermined threshold for displaying risk data mayinclude a threat score threshold such as a specific numerical value thatis compared to the threat score(s). In another aspect, the predeterminedthreshold may be a percentile threshold for a number of computeinstances in the enterprise network. For example, if the threat score(s)fall among the riskiest percentile group, then the threat score(s) maybe displayed. The percentile threshold may be a fixed percentile, e.g.,the top ten percent, or a variable percentile, e.g., the top fivepercent when there are several very high risks, or the top ten, fifteen,or twenty percent, when there are primarily or exclusively low risksobjectively assessed throughout the enterprise network.

As shown in step 2118, the threat score(s) may be used to perform threatdetection within the enterprise network. That is, instead of, or inaddition to, displaying a threat score, the method 2100 may includedetecting whether a threat is present in the enterprise network based onthe threat score(s). If a threat (or potential threat) is detected instep 2118, for example when the threat score(s) meet a secondpredetermined threshold for risk detection, the method 2100 may proceedto step 2120 where remedial action can be initiated, and/or to step 2122where a threat detection rule is created. Otherwise, the method 2100 mayproceed to step 2104 where the process may continue to receive events,store events, score events, and so forth.

As shown in step 2120, in response to detecting a threat, the method2100 may include initiating one or more remedial actions. This mayinclude any of the remedial actions described herein. By way of exampleand not limitation, this may include adjusting filtering of events atone or more of the compute instances, updating security software,quarantining compute instances, running malware detection software onone or more of the compute instances, isolating one or more of thecompute instances, sandboxing potentially malicious code, rebooting oneor more of the compute instances, restricting network traffic for one ormore of the compute instances, and so forth.

As shown in step 2122, in response to detecting a threat, the method2100 may include creating a threat detection rule associated with anycorresponding activity. In general, the techniques for scoring based onthe attack matrix and query usage may be used independently as riskassessment tools. However, these scoring techniques may alsoadvantageously be used in combination to detect new, zero-day threatsand the like. For example, a malware threat may be detected based onusage of queries of the data lake, as generally described herein. Inresponse to such usage indicating a malware threat, the method 2100 mayinclude examining a pattern of traversal of the attack matrix, andcreating a new rule for threat detection based on the pattern oftraversal associated with the query activity. This may include a patternof traversal concurrent with the query activity, immediately precedingthe query activity, or preceding the query activity over somepredetermined time period, which may range anywhere from seconds todays, depending on the nature of the corresponding threat. It will alsobe understood that in this context, the pattern of traversal may befiltered or otherwise processed to improve detection quality. Forexample, where a number of query sequences are associated with a numberof instances of malware, the pattern of traversal preceding each suchquery sequence may be compared in order to remove extraneousevents/detections.

It will be understood that, while a particular order of steps areindicated in FIG. 21 , the order of these steps may be modified. Forexample, the query-based threat score and the traversal-pattern threatscore may be calculated in any order, or may be calculated in parallelusing separate processes or the like, and the event stream may becontinuously updated and stored in the data lake while other processsteps are performed. More generally, the steps may be changed orreordered in any manner consistent with the techniques described herein.

According to the foregoing, there is disclosed herein a system includinga data lake storing an event stream including security events from oneor more sensors on compute instances in an enterprise network, anadministrative console configured to execute queries against the datalake, a plurality of queries stored in a database for execution againstthe event stream at the administrative console, the plurality of queriesconfigured to investigate security issues within the enterprise networkbased on the event stream, a query monitoring agent configured tomonitor a usage of the plurality of queries at the administrativeconsole, an attack matrix stored in the database, the attack matrixenumerating malware strategies in a first dimension and malwaretechniques for each of the malware strategies in a second dimension, anda threat management facility. The threat management facility may beconfigured, e.g., by computer executable code, to create a first threatscore for a compute instance associated with the enterprise networkbased on a pattern of traversal of the attack matrix by a number of thesecurity events in the event stream and to create a second threat scorefor the compute instance based on the usage of the query interface, thethreat management facility further configured to present the firstthreat score and the second threat score for the compute instance in theadministrative console.

In one aspect, the query monitoring agent may be configured to determinea usage history based on the usage of the plurality of queries, and toinitiate an action by the threat management facility based on the usagehistory. In another aspect, the threat management facility may beconfigured to monitor post-query activity from the administrativeconsole, and to detect malicious activity based on the usage of thequery interface and the post-query activity. The threat managementfacility may also or instead be configured to launch an investigationcontainer such as any of the investigation containers described hereinwhen at least one of the first threat score and the second threat scoremeets a predetermined threshold.

FIG. 22A illustrates a first portion of an attack matrix, and FIG. 22Billustrates a second portion of an attack matrix, i.e., the attackmatrix of FIG. 22A. It will be understood that FIGS. 22A and 22B showthe same attack matrix 2200 where FIG. 22B includes an attack matrix2200 that is a continuation of the attack matrix 2200 of FIG. 22A, whereelement ‘A’ shown in the figures is the connecting point for the twoportions of the attack matrix 2200. In general, the attack matrix 2200may enumerate malware strategies in a first dimension and a number ofmalware techniques for each strategy in a second dimension. The attackmatrix 2200 may be stored in any suitable format in a locationaccessible to a threat management facility that uses the attack matrix2200 to track patterns of malware deployment.

By way of non-limiting example, the attack matrix may use categories formalware strategies and techniques such as those defined in the MITREATT&CK coverage map. This coverage map lists tactics such as initialaccess, execution, persistence, privilege escalation, defense evasion,credential access, discovery, lateral movement, collection, command andcontrol, exfiltration, and impact. For each of these strategies, theMITRE coverage map outlines techniques (and “sub-techniques,” in theMITRE rubric) suitable for detection using various threat detectiontools. For example, the initial access technique in this coverage mapmay include techniques such as drive-by compromise, exploit publicfacing application, external remote services, hardware additions,replication though removable media, spearphishing attachment,spearphishing link, spearphishing via service, supply chain compromise,trusted relationship, and so forth. More generally, any matrix, mapping,table, or other arrangement of these various techniques suitable fortracking a pattern of individual exploits suggestive of maliciousactivity may be used as an attack matrix as described herein. The use ofindustry standard categories of tactics such as those in the MITREcoverage map may advantageously facilitate integration with otherpre-existing events, detection types, detection rules, and the like.

A pattern of traversal 2202 is illustrated within the attack matrix 2200using a number of circled techniques coupled by arrows. This pattern oftraversal 2202 may be detected using any of the threat detectiontechniques described herein, and each detected event may be mapped to atechnique within the attack matrix 2200, yielding a pattern of traversalthat proceeds chronologically or sequentially from technique totechnique within the attack matrix 2200. As further described herein,this pattern of traversal 2202 may provide a useful basis for threatdetection using the techniques described herein.

FIG. 23 is a flow chart of a method for streaming and filtering eventobjects into a data lake. This method 2300 may be deployed on one ormore of the systems and devices described herein, and the steps of thismethod 2300 may be used alone or in any suitable combination with thesteps of other methods described herein. In general, an asynchronousstream of security events may be added to a data lake for enterprisesecurity by identifying groups of related events related to a securitythreat, and creating rules to fold these related events into a singlesecurity event along with metadata. The folding rules may then beapplied to security events in the event stream to compress data in thedata lake and improve detection efficiency.

As shown in step 2302, the method 2300 may include receiving an eventstream, such as any of the event streams described herein. In general,this may include a plurality of data objects received in an asynchronousstream of security events from the enterprise network. This may also orinstead include a combination of batch transfers including groups ofsecurity events that are batched for publication to the event stream,and streaming transfers of individual security events from one or moreof the plurality of compute instances, e.g., as the events are detected.In one aspect, the event stream may include one or more events receivedfrom data recorders on compute instances in the enterprise network.

As shown in step 2304, the method 2300 may include storing a data lakebased on the event stream. This may, for example, include storing aplurality of data objects representing a plurality of security events,such as any of the events described herein, received on the eventstream, e.g., from one or more data recorders on a plurality of computeinstances in an enterprise network. This may include any of the datarecorders, compute instances, and enterprise networks described herein.In one aspect, this may include filtering each of the plurality ofsecurity events in the event stream with a deduplication lookup beforeadding to the data lake in order to prevent an accumulation of redundantdata in the data lake. In another aspect, this may include storing theplurality of security events in the data lake as one or more dataobjects each augmented with a description organized according to aschema, such as a schema used by the data to structure data received inthe event stream.

As shown in step 2306, the method 2300 may include querying the datalake, e.g., using any of the user interfaces and/or query interfacesdescribed herein.

As shown in step 2308, the method 2300 may include detecting threatsbased on data in the data lake. For example, this may include detectinga number of threats in the enterprise network at a threat managementfacility using the query to the data lake, which may be initiated, e.g.,from an administrative console of the threat management facility. Thismay also or instead include a detection using any of the techniquesdescribed herein such as monitoring query activity, tracking traversalpatterns on an attack matrix, and so forth.

As shown in step 2310, the method 2300 may include identifying one ormore sequences of security events related to a threat. In one aspect,this may include manually reviewing sequences of events preceding anidentified threat. In another aspect, this may include automaticallyidentifying a characteristic sequence of security events in the eventstream preceding each of a number of threats detected, based on the datalake queries, using one or more pattern recognition tools to analyze theplurality of data objects in the data lake. The characteristic sequenceof security events may include a sequence of similar events from aplurality of compute instances in the enterprise network or a sequenceof similar events from a single compute instance in the enterprisenetwork.

As shown in step 2312, the method 2300 may include creating a foldingrule in response to detecting the threats. For example, this mayinclude, in response to detecting the number of threats and identifyingthe characteristic sequence of security events, automatically creating afolding rule for combining the characteristic sequence of securityevents into an aggregated security event in the data lake. The foldingrule may also or instead specify one or more rules for augmenting theaggregated security event with metadata describing the characteristicsequence of events. For example, the folding rule may capture a firstincident of a repeated event, a number of times a similar or identicalevent is repeated, a last time of occurrence, a time interval over whichthe multiple events occur, and so forth. More generally, the metadatamay characterize a number of events in the sequence of security events,a frequency of events in the sequence of security events, and a firstand last security event in the sequence of security events.

By way of non-limiting example, where a compute instance transmits alarge file to a remote storage facility as a number of individualpackets, the folding rule may simply note the time the communication wasinitiated, the destination, and the number of packets (or size of thefile). As another example, where a user logs in multiple times, this maybe folded into a single login event that identifies the time of a firstlogin and the number of logins. Similarly, events may be folded acrosscompute instances. For example, a particular type of detection might beobserved at numerous endpoints within an enterprise network, and thismay be compressed into a single data lake item identifying the detectionand the number of affected endpoints. The folding rule may also orinstead provide a filter, e.g., that simply discards duplicative eventsthat are either literal duplicates of another event, or that do notprovide additional information useful for threat detection. In oneaspect, folding rules may be created to save storage space, e.g., whereindividual events are discarded after an aggregated event is created bythe folding rule. In another aspect, the folding rules may be created toimprove detection, in which case the aggregated event can provide usefuldata for efficient downstream threat detection while the data lake canalso retain each of the individual events underlying the aggregatedevent.

More generally, there are events within an enterprise network thatdiffer, if at all, only with respect to an accompanying time stamp, oran accompanying machine or user identifier. In these cases, events mayusefully be folded or otherwise aggregated into a single object ofinterest. This may include operating system detections such as loginfailures, suspicious file detections such as double file extensions(e.g., in a syntax [filename].xxx.yyy, so that the user interface willdisplay the filename with a misleading filename), and so forth. In oneaspect, detections may be categorized by, e.g., risk, geographic region,customer, classification rule (e.g., for event type), attributes(filename, user, path, etc.), event type, and so forth in order toidentify high-frequency events that might usefully be folded. Whereevents with identifiable characteristics show very high frequency withinsome historical interval, this may provide a basis for automatically ormanually creating detection-oriented folding rules.

As shown in step 2314, the method 2300 may include presenting thefolding rule in a user interface or other display for human review.

As shown in step 2316, the method 2300 may include receiving an approvalof the folding rule. This may be a manual approval provided from anadministrator at a console of the threat management facility, or by someother system user or technician, and may usefully be required before thefolding rule is deployed for use with the event stream.

As shown in step 2318, the method 2300 may include deploying the foldingrule for use in filtering and/or processing a stream of events beforestorage in the data lake. It will be understood that, while the emphasisin this description is on folding rules for events stored in the datalake, folding rules may also or instead usefully be identified for, anddeployed to, compute instances for use in local monitoring. In general,the characteristic sequence of events may include a sequence of similar(or identical) events from two or more of the plurality of computeinstances in the enterprise network, or a sequence of similar (oridentical) events from a single one of the plurality of computeinstances in the enterprise network.

As shown in step 2320, the method 2300 may include applying the foldingrule. This may, for example, include receiving a second plurality ofsecurity events and applying the folding rule to create an instance ofan aggregated security event from a second plurality of data objects inthe second plurality of security events on the event stream. The secondplurality of security events may be any of the events described herein.For example, the second plurality events may be an asynchronous streamof security events from the enterprise network, the asynchronous streamincluding a combination of batch transfers including groups of securityevents and streaming transfers of individual security events from one ormore compute instances in the enterprise network.

As shown in step 2322, the method 2300 may include processing theaggregated event(s) created by the folding rule. This may include anyuse of, or revision to, an aggregated event. For example, this mayinclude storing the instance of the aggregated security event created bythe folding rule in the data lake. This may also or instead includeperforming a malware detection for the enterprise network with thethreat management facility using one or more instances of the aggregatedsecurity event stored in the data lake. As noted above, this mayadvantageously improve the efficiency and reduce the computationalcomplexity of certain detections where a pattern of interest within adata stream that can be accurately compressed into a representativeaggregated event. In another aspect, this may include initiating aremediation of a threat to the enterprise network with the threatmanagement facility based on one or more instances of the aggregatedsecurity event stored in the data lake.

Folding rules such as those described herein may more generally operateto compress data for communication to a data lake, or to moreeffectively distribute storage across endpoints within an enterprisenetwork. That is, while in some cases a folding rule may be created toefficiently manage repetitious, low-value events in a lossy manner wheredata about individual events is lost, in other cases, the data may beamenable to various forms of compression for storage or communicationwithin a lossless representation of the relevant sequence of detectedevents. For example, in one aspect, a sequence of related events may becompressed, e.g., by converting a sequence of detections to a list oftime stamps for identically or substantially identical events, in amanner that permits compact communication to the data lake as a singlemeta-event, followed by decompression at the data lake into individualevents used for detection. This may be useful, for example, where ananalysis of the individual events might potentially be useful for threatdetection, but the nature of the sequence is amenable to more efficientrepresentation during communication to the data lake. In another aspect,the folding rule may alleviate storage requirements for the data lake,e.g., by storing certain information at a source compute instance (e.g.,a specific list of time stamps, machine identifiers, event identifiers,process names, users, or the like), e.g., in a data recorder or otherstorage facility on the compute instance, while sending a foldedrepresentation with, e.g., a time stamp for a first and last event,along with a count of the number of events in the folded meta-event.This approach permits a query to the compute instance to retrieve thefull representation of the underlying events, without requiring thecorresponding data to be transmitted to the data lake and stored at thedata lake in the first instance.

According to the foregoing, this is also described herein a systemincluding a data lake, a stream service, and a transformer service suchas any of the data lakes, stream services, and transformer servicesdescribed herein. The data lake may include a data storage mediumstoring a first plurality of data objects representing security eventswithin an enterprise network and a plurality of descriptions for thefirst plurality of data objects, each of the plurality of descriptionsorganized according to one or more schemas. The stream service may beconfigured to receive an asynchronous event stream of additional dataobjects representing security events from the enterprise network. Thetransformer service may be configured to process the asynchronous eventstream by filtering the additional data objects to remove duplicate oneor more data objects already stored in the data lake, thereby providingfiltered data objects, to augment each of the filtered data objects witha corresponding description organized according to one of the one ormore schemas, thereby providing augmented data objects, and to store theaugmented data objects in the data lake. The transformer service mayalso be configured to apply a folding rule for aggregating a sequence ofsimilar events into an aggregated security event for storage in the datalake, the folding rule augmenting the aggregated security event withmetadata that characterizes one or more of a number of events in thesequence of security events.

In one aspect, the folding rule may be automatically generated bycorrelating one or more prior instances of the sequence of similarevents with a behavior of interest in the enterprise network. In anotheraspect, the metadata may characterize one or more of a number of eventsin the sequence of security events, a frequency of events in thesequence of security events, and a first and last security event in thesequence of security events.

FIG. 24 is a flow chart of a method for calculating a composite threatscore. This method 2400 may be deployed on the systems and devicesdescribed herein, and the steps of this method 2400 may be used alone orin any suitable combination with the steps of other methods describedherein. As described herein, a platform for threat investigation in anenterprise network receives threat data from managed endpoints, and isaugmented with data from cloud computing platforms and other third-partyresources. The resulting merged data set can be incrementally updatedand used to automatically launch investigations at appropriate times. Ingeneral, a composite threat score can be derived based on data frommultiple sources of threat information that are received at a host orother central resource for threat investigation. When the compositethreat score is above a predetermined threshold, an investigation mayautomatically be created to support review and analysis of contextualthreat information. Threat data may be updated as information fromdifferent sources becomes available, and presented on an as-availablebasis in a user interface for investigation and action by a technician.

As shown in step 2402, the method 2400 may include receiving a localthreat indication from an endpoint. This may include data from a localsecurity agent on an endpoint such as any of the endpoints describedherein. The data may be received, for example at the host describedabove, or any other resource or the like supporting a threatinvestigation platform as contemplated herein. The local threatindication may, for example, include an event on the endpoint indicativeof malicious activity. The local threat indication may also or insteadinclude a threat detection obtained by a local security agent byapplying a detection rule to events detected on the endpoint. Forexample, threat detection rules, threat signatures, machine learningmodels, and other resources may be deployed on the endpoint and used bythe local security agent for local threat detection. Any such tools,models, rules, and the like may be used locally by the endpoint togenerate a local threat indication as described herein. The local threatindication may also or instead include a classification indicating acategory of malicious activity associated with events detected on theendpoint. This may be, for example, a classification provided by a thirdparty resource such as the MITRE ATT&CK classification system, or anyother suitable taxonomy, classification resource, or the like.

As shown in step 2404, the method 2400 may include receiving acontextual threat score calculated by a threat management facility basedon event data received from contextual information received at thethreat management facility. The threat management facility may use anycontext, event information, or the like, as generally described herein,and may evaluate a threat based on data from the endpoint, from otherendpoints, from event context, or any combination of these. For example,the contextual information may include one or more of classificationinformation for a suspected threat, a network location associated with asuspected threat, geolocation data for a suspected threat (which may beobtained using various geolocation resources that associated, e.g., theIP address space on the Internet with various geographic locations), oneor more of a path a filename, a process name, and a machine identifierfor a suspected threat, and a threat score based on one or more ofmachine learning rules and heuristic rules. It will be understood thatcontextual information may also or instead include events or eventvectors received from the endpoint, and/or from other endpoints withinan enterprise network or the like.

In one aspect, contextual information includes any transient threat datasuch as third-party data provided from sources of contextual informationindependent from the enterprise security infrastructure. This may, e.g.,include third-party threat identification or threat scoring tools,geolocation services, reputation databases, threat signature databases,and so forth. As a significant advantage, feeding contextual informationof this type to the data lake provides a non-transient record that canbe subsequently analyzed to evaluate a threat posture at the time thatthe information was acquired, and to detect changes to the context overtime. For example, contextual information such as third-partygeolocation data or third-party threat scoring relies on externalresources that may provide different information when queried atdifferent points in time. By way of non-limiting example, a geolocationof an IP address, or the IP address or URL of a command and controlcenter for an advanced persistent threat, may be unknown at the timethat an event is recorded, but may be discovered or changed at a latertime. These changes over time would not generally be available in a formthat can be monitored by the enterprise. In order to ensure that thecontextual information is properly placed in a chronology of events whenscoring threats or performing forensic analysis, the contextualinformation may be stored in a manner that permits investigation of theknown context at a particular point in time. It will be understood thatin order to facilitate any corresponding time-based or time-sensitiveanalysis, contextual information as described herein may usefully betime-stamped when stored in the data lake based on the time ofacquisition of the data from a third party resource or other transientdata source. This approach may also facilitate the creation, refinement,or other use of machine learning models in which data samples such ascode segments are tagged with contextual information that was availableat a particular time of interest.

As shown in step 2406, the method 2400 may include receiving cloudresource data based on an action associated with the endpoint at a cloudservice. In general, the cloud service may be any of the cloud servicesdescribed herein. By way of non-limiting examples, the cloud service mayinclude one or more of an electronic mail application, a webapplication, a cloud storage service, a zero trust network accessresource, a virtualization platform, a cloud computing service, and anauthentication service. The cloud resource data from such cloud servicesmay include, e.g., one or more of authentication to the cloud service,administrative events at the cloud service, and application activity atthe cloud service initiated from the endpoint. The action associatedwith the endpoint that triggers the generation of cloud resource datamay, for example, include an activity by a user of the endpoint such asaccess or use of the cloud service by the user that was initiated fromthe endpoint. The action may also or instead include an activity by anadministrator for an enterprise network associated with the threatmanagement facility, where such an activity might be relevant toevaluation of a potential threat.

The cloud service may also be any other remote service or device that ismade cloud-accessible through suitable hardware and software. Forexample, the cloud service may include a firewall, e.g., by adding anetwork monitor executing on a third party firewall to transmit firewalllog data through a secure communication channel. More generally, anynetwork device or other hardware or software that might usefully bemonitored for security purposes may be configured as a cloud service byproviding a network interface for securely accessing corresponding dataand functions.

As shown in step 2408, the method 2400 may include determining acomposite threat score for the endpoint based on at least the localthreat indication, the contextual threat score, and the cloud resourcedata. It will be appreciated that data from the various possible sourcesmay be combined in a number of different ways. For example, each sourcemay independently score risk (or present data that can be scored by thehost), and the composite threat score may reflect the highest individualscore from each of these independently scored risks. In another aspect,scores from the sources may be combined on a weighted or non-weightedbasis, or otherwise combined to obtain a composite score representingcontributions from each independent source of data.

It will be understood that the composite threat score may be based onother data that is processed as described herein. For example, this mayinclude telemetry data from any of the sensors described herein, whichmay be processed using one or more folding rules to reduce noise andaugment useful detection signals in the telemetry data. It will also beunderstood that the folding rules may include, e.g., folding rulesdeployed on a compute instance to locally reduce noise in telemetry datafrom sensors on the compute instance, or this may include folding rulesdeployed at the data lake to compress or otherwise represent telemetrydata from the entire enterprise (or individual compute instances withinthe enterprise) in a manner that removes repetitious data of low valueto threat analysis.

As shown in step 2410, it may be determined whether the composite threatscore is above a predetermined threshold for automatically initiatinginvestigation. If the composite threat score is not above thepredetermined threshold, the method 2400 may proceed to step 2412 wherethe score may be displayed. If the composite threat score is above thepredetermined threshold, then the method 2400 may proceed to step 2414where an investigation is created.

As shown in step 2412, the method 2400 may include displaying thecomposite threat score in a user interface, such as any of the threatinvestigation user interfaces discussed herein. This may includeoptionally displaying the composite threat score (along withaccompanying summary information for the suspected threat), subject toany filters in place in the user interface. Thus, the user interface maybe configured to only display threats above a filtering threshold. Thismay also include ranking or ordering suspected threats (above thefiltering threshold) using any suitable criteria such as the value ofthe composite threat score, user, threat type, time of occurrence, andso forth.

As shown in step 2414, the method 2400 may include automaticallylaunching an investigation for a suspected threat when the compositethreat score is above the predetermined threshold. This may, forexample, include creating an investigation container (including a datastructure and/or user interface) for investigating activity associatedwith the composite threat score as described above, or otherwisecreating a user interface and/or data structure to support investigationof the context and details for a particular suspected threat. Theinvestigation container may, for example, display (and/or store) one ormore of the local threat indication, the contextual threat score, andthe cloud resource data. The investigation container may also or insteadprovide access to supporting data for one or more of the local threatindication, the contextual threat score, and the cloud resource data inorder to facilitate deeper investigation and other follow up by atechnician.

As shown in step 2416, the method 2400 may include updating threat databased on various sources such as the endpoint, the threat managementfacility, or the cloud service(s). This may, for example, includeincrementally updating the composite threat score and/or anyaccompanying scoring, detection, or contextual information or the likeas such information becomes available from various resources. In oneaspect, this may include incrementally updating the composite threatscore based on data from one or more of the local security agent, thethreat management facility, and the cloud service. This may also orinstead include incrementally updating the composite threat score basedon health information for the endpoint from the threat managementfacility, or any other resource for generating threat scores, evaluatingthe health or security posture of an endpoint, and so forth. This mayalso or instead include incrementally updating the composite threatscore with data from one or more third party security service providers.For example, this may include updating threat definitions, signatures,detection rules, events, event vectors, health scores, reputation data,geolocation data, and so forth. More generally, this may includeincrementally updating data for a potential threat using any of theremote, local, or other resources described herein.

Where an investigation container has been created, this may also orinstead include incrementally updating information in the investigationcontainer as data from one or more sources becomes available. In anotheraspect, this may include augmenting information in the investigationcontainer based on a history of responses by other users to a potentialthreat associated with the investigation container. For example, asdescribed herein, successful and unsuccessful responses, or otherinvestigation trajectories associated with good or bad outcomes, may berecorded and used to assist subsequent threat investigation andremediation activity. Where there are responses, queries, or the likethat are known (based on historical activity) to be associated withbetter outcomes, one or more such steps may be automatically initiatedby the investigation platform, or recommended to a technician, or somecombination of these.

According to the foregoing, there is further disclosed herein a systemincluding a plurality of compute instances associated with an enterprisenetwork, and a threat management facility for the enterprise network,the threat management facility configured to determine a compositethreat score based on: a local threat indication received from one ofthe compute instances; cloud resource data based on an action taken at acloud service and associated with the one of the compute instances; anda contextual score based on geolocation data received from a remotegeolocation service for a suspected threat associated with the localthreat indication. The system may include an administrative consoleconfigured to display the composite threat score in a user interface.The cloud resource data may, for example, include application activityinitiated at the cloud resource from the compute instance.

FIG. 25 is a flow chart of a method for security integration with cloudservices. This method 2500 may be deployed on the systems and devicesdescribed herein, and the steps of this method 2500 may be used alone orin any suitable combination with the steps of other methods describedherein. In general, a threat management facility for an enterprisenetwork may integrate native threat management capabilities with threatdata from a cloud service provider used by the enterprise. By properlyauthenticating to the cloud service and mapping data feeds from thecloud service to a native threat management environment, the threatmanagement facility can advantageously extend threat detection andmanagement capabilities beyond endpoint-centric techniques.

As shown in step 2502, the method 2500 may begin with receiving an eventstream such as any of the event streams described herein. For example,this may include receiving, at a threat management facility, a firstevent stream of local threat data from a number of local security agentsexecuting on a number of compute instances associated with an enterprisenetwork, or more generally, receiving a first event stream of eventsbased on local threat data from a number of compute instances in anenterprise network. This may include any of the events or threat datadescribed herein that might be provided directly from local securityagents. For example, the local threat data may include a classificationindicating a category of malicious activity associated with the eventsdetected on one of the number of compute instances, such as a MITREclassification or other classification that provides a reference forconsistent classification of different types of malware and attacks.

As shown in step 2504, the method 2500 may include storing the eventstream in a data lake, such as any of the data lakes described herein.This may, for example, include storing threat detections or other datain the first event stream according to a threat schema for the threatmanagement facility. This may include any schema that imposes aconsistent structure on the event stream to facilitate search,retrieval, and use of threat data in the data lake for threat managementfunctions. By way of example, for threat events such as threatdetections or indications of compromise, a threat schema may includefields for a date of the threat (or more generally, the indication ofcompromise), a time of a threat, a worker (e.g., software module,process, microservice, or the like) that detected the threat, a type ofattack (using any suitable classification scheme), a threat score (e.g.,on a scale of 0-10), an identifier for a detection method used to detectthe threat, a third party attack category (e.g., a MITRE classificationor the like), a human readable description of the threat, a uniqueidentifier for the threat, a unique record identifier for the detection,and so forth.

As shown in step 2506, the method may include authenticating to a cloudservice provider. For example, this may include authenticating aresource at the threat management facility to a cloud service in orderto provide administrative access to management functions and programminginterfaces for accessing data in user accounts hosted at the cloudservice. In general, the cloud service provider may be any serviceprovider that provides cloud computing facilities to users associatedwith the enterprise network. For example, the cloud service provider mayinclude a cloud computing service hosting virtual compute instances forthe enterprise network, an identity provider providing identitymanagement and/or authentication services for the users of theenterprise network, a third party network security service for the usersof the enterprise network, an application hosting provider for users ofthe enterprise network, or some combination of these. The cloud serviceprovider may also or instead host one or more of an electronic mailapplication, a cloud storage service, a cloud computing service, avirtualization platform, a web application, a zero trust network accessresource, a network monitor executing on a third-party firewall, and anauthentication service.

As shown in step 2508, the method 2500 may include configuring the cloudservice for streaming. This may, for example, include enabling anysuitable logging, reporting, notification, or audit features native tothe cloud service that are provide for individual accounts, or for theservice generally, using an administrative account for the cloudservice. This may also or instead include installing or activating astreaming service at the cloud service, and/or configuring an externalservice to receive a data stream from the cloud service and publish thedata, suitably formatted according to any applicable schemas, to theevent stream or any suitable intermediate handler.

As shown in step 2510, the method 2500 may include receiving securitydata from the cloud service provider. This may include any security datanatively provided by the cloud service provider, such as authenticationdata for a cloud service provider, administrative events at the cloudservice provider, and application activity at the cloud service providerinitiated from the one of the compute instances. It will also beunderstood that there may be any number of intermediaries between thecloud service and a data lake that stores threat data. Thus, receivingsecurity data may include receiving data from the cloud service with anexternal service that processes as appropriate and publishes to theevent stream, and/or this may include receiving data at the data lakefrom the event stream. In either case, the data may be formatted,filtered, augmented, or otherwise processed for delivery to the datalake.

As shown in step 2512, the method 2500 may include mapping the securitydata from the cloud service provider to a threat schema for delivery toor storage in the data lake. For example, this may include mapping thesecurity data from the cloud service provider into a second event streamconforming to the threat schema for the threat management facility.

It will be understood that the schema or data structure(s) used by thecloud service may differ significantly from the threat schema used inthe data lake, and may include fields and data specific to the cloudservice environment. For example, in a Windows Office 365 environment,data may include Active Directory data (such as access events, logon(and failed logon) events, or token service events, role change or groupchange events), Exchange data (e.g., administrative audit data, singlemessage events, group message events, and mailbox audit events,malware/phishing detection events, antivirus events, mail forwardingevents, and message auto-labeling events), SharePoint data (e.g., fileoperation events, file sharing events, user comment events, list contentand item events, auto-labeling policy events, and search events), Skype(e.g., call events, blocked user events), and Teams (admin events,device events, analytics events, user events, guest access or teamcreation events). More generally, a cloud service may provide audit ofsensitive data access, file sharing, policy compliance, file access andusage, search/query activity, password changes, permission changes (forusers, groups, files, folders, messages, etc.) login attempts, messagingservices (forward, send, read, delete, move, login, etc.), threatintelligence, and so forth, any of which may be usefully stored asthreat data in the data lake. As such, the data from the cloud servicemay be processed in any of a variety of ways in order to conform thedata from the cloud service to the requirements of the data lake. Datafrom the cloud service provider may also or instead include useridentification information such as a user name, electronic mail address,user identifier, or the like. This information may be provided as a datastructure containing all users associated with the enterprise, and/or asa label, tag or the like for each event associated with a particularuser.

For example, mapping the security data may include scaling one or morequantitative threat scores in the security data to a threat score rangefor the threat schema so that quantitative risk evaluations from thecloud service are generally more comparable to other quantitative riskevaluations in the data lake from other sources. Mapping the securitydata may also or instead include converting one or more threat types inthe security data to a threat category for the threat schema. As withthe quantitative scaling, using a similar or identical categorizationtaxonomy for data from the cloud service and other sources permitsaccurate, side-by-side comparison and analysis. Thus, the categoriesused by the cloud service may be mapped to analogous categories (or insome cases, simply category names) used within the data lake. In anotheraspect, mapping the security data may include transforming risk metadatain the security data into one or more context descriptors for the threatschema. For example, where a native cloud service environment reports afailed login with user credentials using a specific alphanumeric code,this may be mapped to a corresponding descriptor (e.g., “login failure”)used within the data lake. Some cloud service providers provide a datablob of all available threat data formatted according to a cloud serviceschema. In this case, mapping the security data may also or insteadinclude converting a data blob in the security data from the cloudservice provider into a plurality of risk items identified in the threatschema, e.g., by parsing, recategorizing, scaling, transforming, orotherwise processing data in the data blob.

As shown in step 2514, the method 2500 may include augmenting the secondevent stream. In general, the second event stream may be augmented asdescribed herein with additional security data from one or more thirdparty security data providers, and/or with geolocation data and othersupplemental data. The second event stream may also or instead includecontextual data for a suspected threat from the source of an event orone or more external resources. By way of non-limiting example, thecontextual data may include one or more of classification informationfor the suspected threat, a network location associated with thesuspected threat, a geographic location for a suspected threat, a pathfor the suspected threat, a filename for the suspected threat, a processname for the suspected threat, a machine identifier for the suspectedthreat, user identifier associated with the suspected threat, and soforth. In one aspect, augmenting the second event stream may includereceiving this contextual data, and/or receiving other contextualinformation for a suspected threat such as data from a remote datasource. For example, the remote data source may provide classificationinformation for the suspected threat, a network location associated withthe suspected threat, geolocation data for the suspected threat, or anyother useful information, which may be based on any of the contextualdata or other data already present in the event stream.

As shown in step 2516, the method 2500 may include storing the secondevent stream in the data lake. The threat data from the cloud servicemay then be used along with other threat data in the data lake forvarious threat detection and management functions.

As shown in step 2518, the method 2500 may include calculating a threatscore based on the second event stream. For example, this may includecalculating a threat score for one of the compute instances based ondata from the first event stream and the second event stream stored inthe data lake. As a significant advantage, this permits improved threatassessment using local threat data obtained directly from a localsecurity agent executing on a compute instance, along with cloud servicedata from a cloud service used by the compute instance. In one aspect,this may include calculating multiple threat scores such as a firstthreat score based on the local threat data, a second threat score basedon the cloud threat data, and a third threat score based on data from aremote third-party threat service. This may also or instead include acalculation of a composite threat score, such as any of the compositethreat scores described herein, based on local threat data from thecompute instance, cloud threat data from a cloud service used by thecompute instance, and/or supplemental threat data from one or more thirdparty threat services.

As shown in step 2520, the method 2500 may include any additionalprocessing usefully associated with the second event stream from thecloud service provider. For example, this may include displaying one ormore of a plurality of threat scores, such as any of the individual orcomposite threat scores described herein, in a user interface such as anadministrative console of a threat management facility for an enterprisenetwork. The threat scores may usefully be presented in an order rankedaccording to threat severity, and may also or instead be color coded orotherwise presented in a manner that highlights more severe risks. Inanother aspect, the additional processing may include remediating anassociated threat (or initiating a remediation of the threat), e.g.,using any of the remediation techniques described herein, such as byinitiating a remediation of the one of the compute instances in theenterprise network when one of the threat scores meets a predeterminedcriterion or quantitative threshold.

It will be appreciated that detections based on concurrent monitoring ofa compute instance and an associated cloud service may permitsignificantly more flexibility in threat detection and remediation,particularly where user behavior on a compute instance might usefully becompared to activity for the user in an account at the cloud service.For example, where a phishing email is detected in an electronic mailservice for a user, a remediation or notification may be initiated on acompute instance associated with the user before the user has anopportunity view the communication. As another example, activity at acompute instance associated with the user may be compared to login orother authentication activity at an identity provider in order to assessa likelihood of credential theft or misuse. More generally, any threatdetection based on a combination of threat data from a cloud service andthreat data from a local security agent may usefully be performed usingthe techniques described herein.

According to the foregoing, there is also disclosed herein a systemincluding a plurality of compute instances associated with an enterprisenetwork, each executing a local security agent that provides event datato a first event stream, and a threat management facility for theenterprise network. The threat management facility may be configured,e.g., by computer executable code, to authenticate to a cloud serviceprovider for the enterprise network, receive security data from thecloud service providers in a second event stream, calculate a compositethreat score indicative of a security risk of one of the computeinstances based on data from the first event stream and the second eventstream, and display the composite threat score in a user interface. Thecloud service provider may, for example, include one or more of anapplication hosting platform, a communication platform, an identitymanagement platform, and a remote security services platform.

FIG. 26 shows a user interface for investigating threats. The userinterface 2600 may be rendered using the devices herein, e.g., as anadministrative console for a threat management facility, or on any otherdevice or system accessible by a user for threat investigation. Ingeneral, the user interface 2600 may display one or more potentialthreats, along with related information. A threat summary 2602 may, forexample, display a composite threat score or a detection, which providesa basis for ranking and filtering various threat activities within amanaged context such as an enterprise network. The threat summary 2602may also show a classification rule, a classification such as a MITREATT&CK category, a human-readable description of the classification, acount of the number of occurrences of the activity (e.g., over some timespan such as the last 24 hours), a list of devices that have made thedetection, a process owner associated with the detection, and, for itemswith more than one occurrence, summary data such as a first occurrence,a time of first occurrence, a most recent occurrence, and/or a time ofmost recent occurrence.

An investigation window 2604 within the user interface 2600 for one suchthreat may include currently available information for the threat tosupplement the threat summary 2602. For example, the investigationwindow 2604 may display information associated with the threat such as aprocess, path, process owner, certificate information, hash (e.g.,SHA256 hash) and one or more threat scores such as any of the threatscores described herein. This may, for example, include a machinelearning score (e.g., based on event vectors associated with thethreat), a third party score (e.g., based on an event identificationfrom a third party security resource), a global reputation (e.g., fromthe threat management facility), a local reputation (e.g., from thesource endpoint), and so forth. Information about the affected endpointmay also or instead be provided, such as a device name, device type, IPaddress, geolocation information, operating system, user, and so forth.

In one aspect, an investigation container 2606 for a particular threatmay be automatically launched as a persistent, programmatic object forhandling a case for a particular the threat, and stored in a datarepository 2608 such as a database for a threat management facility orother host for threat investigation. The investigation container 2606may advantageously be launched, e.g., when the composite threat scorefor a threat meets a predetermined threshold indicative of a highlikelihood of malicious activity. The investigation container 2606 mayinclude, or may communicate with, a user interface that provides variouscontrols for user investigation using any resources available to thehost. This may include query access to the data lake, remediation tools,external resources, and so forth.

In one aspect, the investigation window 2604 (or an investigationcontainer 2606 supporting the investigation window 2604) may beincrementally updated within information from various available sources.For example, while an initial detection from an endpoint or a threatmanagement facility may immediately be used to create a detection,assign a composite threat score, and display the newly detected threatin the user interface 2600 if the score meets a user-defined threshold,a significant range of relevant information may not be immediatelyavailable. For example, many of the resources, such as third partyresources used to classify or score a threat or cloud services for theenterprise network, may have significant latencies, limitedavailability, and/or bandwidth limitations. At the same time, not allinformation related to a detection may be available at the moment ofdetection. That is, information from other affected devices within anenterprise network, information from other processes on an affectedendpoint, new threat identifications or signatures, and the like, mayonly become available after the initial event/detection. In the systemsand methods described herein, the data for an investigation may beincrementally updated as new data becomes available, and whereappropriate, the composite threat score may be updated based on the newinformation. As a significant advantage, this approach permits earlyreporting and ranking of potential threats, while facilitatingaugmentation from a variety of data sources having differing latency andavailability.

FIG. 27 is a flow chart of a method for using an automatically generatedinvestigation container. This method 2700 may be deployed on the systemsand devices described herein, and the steps of this method 2700 may beused alone or in any suitable combination with the steps of othermethods described herein. In general, a threat management facility maygenerate a composite threat score based on risk data from varioussources, and automatically launch an investigation container, such asany of the investigation containers described herein, for interactivethreat investigation when the composite threat score meets apredetermined threshold.

As shown in step 2702, the method 2700 may include receiving localthreat data. This may, for example, include any of the local threat datadescribed herein. In one aspect, the local threat data includes a localthreat indication from a local security agent executing on a computeinstance, or other locally obtained threat data from the computeinstance, such as a local threat indication identifying a category ofmalicious activity associated with one or more events detected on thecompute instance. The local threat data may also or instead include alocal threat identification for an event indicative of maliciousactivity on the compute instance, or a classification indicating acategory of malicious activity associated with events detected on thecompute instance. In another aspect, the local threat data may include athreat detection obtained by the local security agent by applying adetection rule based on at least one of a malware signature and abehavior detected on the compute instance.

In general, receiving the threat data may include receiving the localthreat data at a threat management facility directly from the computeinstance through a data network, although it will be understood that thedata may initially be published to an event stream and/or stored in adata lake as described herein, and the local threat data may then beretrieved from such data sources by the threat management facilityeither proactively (by requesting the data) or reactively (afterreceiving a notification of new local threat data). This may alsoinclude calculating a local threat score at the compute instance fortransmittal to the threat management facility.

As shown in step 2704, the method 2700 may include receiving contextualthreat data, such as any of the contextual threat data described herein.For example, this may include geolocation data or other supplementaldata retrieved from a third-party service for a suspected threatdetected on the compute instance. In one aspect, this may includecalculating a contextual threat score based at least in part ongeolocation data retrieved from a third-party service for a suspectedthreat on a compute instance, and then transmitting this contextualthreat score to the threat management facility (or event stream). Inanother aspect, the threat management facility may calculate thecontextual threat score, e.g., when calculating composite threat scoresin step 2708. Receiving the threat data may include receiving thecontextual threat data at a threat management facility directly from thethird-party service through a data network, although it will beunderstood that the data may initially be published to an event streamand/or stored in a data lake as described herein, and the contextualthreat data may then be retrieved from such data sources by the threatmanagement facility either proactively (by requesting the data) orreactively (after receiving a notification of new contextual threatdata).

As shown in step 2706, the method 2700 may include receiving cloudresource data. As described herein, this may generally include any cloudresource data based on an action associated with the compute instance,or a user of the compute instance, at a cloud service. In one aspect,the cloud service may calculate or otherwise provide a cloud threatscore that is transmitted to the event stream, data lake, or threatmanagement facility. In another aspect, the threat management facilitymay calculate the cloud threat score, e.g., when calculating compositethreat scores in step 2708. In general, the cloud service may be any ofthe cloud services described herein, including without limitation a webapplication, a cloud storage service, an electronic mail application, anauthentication service, a zero trust network access resource, a networkmonitor executing on a third-party firewall, a cloud computing service,and a virtualization platform. Receiving the cloud resource data mayinclude receiving the cloud resource data at a threat managementfacility directly from a cloud service through a data network, althoughit will be understood that the data may initially be published to anevent stream and/or stored in a data lake as described herein, and thecloud resource data may then be retrieved from such data sources by thethreat management facility either proactively (by requesting the data)or reactively (after receiving a notification of new cloud resourcedata).

As shown in step 2708, the method 2700 may include calculating orotherwise determining a composite threat score based on the local threatdata, the contextual threat data, and the cloud resource data. Eachcomponent of the composite threat score may be independently evaluatedand scored, or the components may be scored together, or somecombination of these. Thus, the composite threat score may include asingle score based on a combination of two or more of the local threatindication, the contextual threat data, and the cloud resource data. Inanother aspect, the composite threat score may include a number ofscores each individually based on one of the local threat indication,the contextual threat score, and the cloud resource data. The compositethreat score may also include a combination of these two types ofscores.

As shown in step 2710, the method 2700 may include evaluating whether toinvestigate a potential threat based on the composite threat score. Whenthe composite threat score meets one or more predetermined criteria forinvestigation, the method 2700 may proceed to step 2712 where aninvestigation container may be created. When the composite threat scoredoes not meet the one or more predetermined criteria for investigation,the method 2700 may return to step 2702 and additional local,contextual, a cloud data may be gathered.

As shown in step 2712, the method 2700 may include automaticallycreating an investigation container for investigating activityassociated with the composite threat score in response to the compositethreat score meeting a predetermined threshold. In general, theinvestigation container may be a data object including data associatedwith a potential threat, along with any links, pointers, or the like toexternal resources associated with the potential threat, or to threatinvestigation more generally.

The investigation container may be associated with (and/or mayprogrammatically include) a user interface, such as the user interfacedescribed with reference to FIG. 26 , which may display one or morethreat scores based on the local threat data, the contextual threatdata, and the cloud resource data. This may include various types ofdata including but not limited to a local threat score based on thelocal threat data, a contextual threat score based on the contextualthreat data, and a cloud threat score based on the cloud resource data.The user interface may provide interactive access to supporting data forone or more threat scores including one or more of the local threatindication, the contextual threat data, and the cloud resource data.

As shown in step 2714, the method 2700 may include additional processingconsistent with the use of the investigation container to investigateand dispose of threat detections. For example, this may includetransmitting a notification with a link to the user interface associatedwith the investigation container to a device associated with a securitytechnician so that the security technician can access the user interfaceand investigation container to investigate the potential threat. Anotification concerning a new investigation container may becommunicated in a number of other ways. For example, this may includedisplaying a pop-up window or other display element within a display ofa device currently being used by the technician, or by sending anotification of availability of the investigation container through someother medium. For example, the threat management facility may transmit atext message, electronic mail, or phone communication to a techniciannotify the technician of the availability or a new investigationcontainer, particularly where a threat score associated with theinvestigation container indicates a severe security risk and/or apotential compromise of highly valuable data.

Additional processing may also or instead include displaying informationfrom the investigation container to a user. For example, this mayinclude displaying the composite threat score(s) in a user interfaceassociated with the investigation container, or otherwise presentingrelated threat information in the user interface, such as one or more ofthe local threat data (or local threat indication), the contextualthreat data, and/or the cloud resource data. In one aspect, this mayinclude displaying the composite threat score in a notification to asecurity technician within an electronic mail, text message, or othercommunication.

In another aspect, the additional processing may include incrementallyupdating information in the investigation container. Due to thedistributed nature of the sources of threat data, there may be differentlatencies, reporting frequencies, and so forth. Some data may bereceived in batches, such as lookups to remote resources or data that isaggregated and batched by an endpoint such as a gateway or firewall, orany of the other compute instances described herein. In this case, theinvestigation container may be incrementally updated as each new item ofinformation becomes available, e.g., as data becomes availableindependently from each of the compute instance, the third-party service(e.g., geolocation data), and the cloud service. For example, theadditional processing may include incrementally updating the compositethreat score based on an evaluation of the compute instance by thethreat management facility, e.g., where a threat detection or otherpotential risk is identified by the threat management facility. Where acomposite threat score or other metric indicates a reduced risk severitybased on incrementally updated data, the additional processing may alsoinclude disposing of or otherwise closing or terminating theinvestigation container. For example, where a request to a third-partyservice provides a response indicating that the potential threat issigned by a trusted third-party, then the investigation container may bedisposed of.

In this manner, a human investigator or computer scoring tool or thelike can maintain a current view of a threat associated with theinvestigation container as the risk posture develops over time. At thesame time, the investigation container can reflect new informationreceived after the investigation container was created. In addition toincrementally updating supporting data, the additional processing mayinclude incrementally updating scores that are presented in, orassociated with, the investigation container. For example, this mayinclude incrementally updating the composite score(s) as data becomesavailable from one or more remote sources such as the cloud service orthird-party data source.

Additional processing may include providing interactive access, in auser interface associated with the investigation container, tosupporting data for the composite threat score. In one aspect,incrementally updating information in the investigation container mayinclude updating this supporting data that is accessible through theinvestigation container. This permits tools within the user interface tolink to current data, e.g., data in the data lake or other store thathas been incrementally updated with new data received after the creationof the investigation container but before a user request for data.Information that is displayed within the investigation container, or aninterface accessed from the investigation container, may also or insteadbe dynamically updated within the display in order to ensure that a useris responding to the most recently available security information.

In another aspect, the additional processing may include augmentinginformation in the investigation container based on a history ofresponses by other users to a potential threat associated with theinvestigation container. Thus, as generally described herein, user queryactivity received in the context of previous investigation containersincluding patterns of queries, updates to queries, and/or responsestaken to queries in an administrative console, may be used to augmentinformation in the investigation container, e.g., by providingquery-based threat detections or suggesting useful remedial measuresbased on the current context.

According to the foregoing, there is described herein a system includinga plurality of compute instances associated with an enterprise network,a threat management facility for the enterprise network, and anadministrative console. The threat management facility may beconfigured, e.g., by computer executable code, to determine a compositethreat score based on a local threat indication received from one of thecompute instances, cloud resource data based on an action taken at acloud service and associated with the one of the compute instances, anda contextual score based on geolocation data received from a remotegeolocation service for a suspected threat associated with the localthreat indication. The administrative console may be configured toautomatically display a user interface associated with an investigationcontainer when the composite threat score meets a predeterminedthreshold.

FIG. 28 is a flow chart of a method for incremental enrichment of threatdata. This method 2800 may be deployed on the systems and devicesdescribed herein, and the steps of this method 2800 may be used alone orin any suitable combination with the steps of other methods describedherein. In general, a threat management facility may receive data from avariety of sources such as compute instances within an enterprisenetwork, cloud service providers supporting the enterprise network, andthird-party data providers such as geolocation services. In order tofacilitate prompt notification of potential risks, the threat managementfacility may incrementally update data for use in threat assessments asthe data becomes available from these different sources, and createsuitable alerts or notifications whenever the currently accumulated dataprovides an indication of threat meeting a predetermined threshold.

As shown in step 2802, the method 2800 may include asynchronouslyreceiving local threat data from a compute instance in an enterprisenetwork. This may include a local threat indication from a localsecurity agent executing on the compute instance, and may identify acategory of malicious activity associated with one or more eventsdetected on the compute instance, or otherwise provide local threatinformation from the compute instance. This may also or instead includeany of the other local threat data described herein. It will beunderstood that asynchronous local threat data, as described herein, islocal threat data that is not synchronized timewise with data form otherdata sources. The data may be received before other data, after otherdata, during the receipt of other data, and so forth, and may bereceived in batches or as individual events, any and all of which may bepublished to an event stream independently of other data sources on anon-predetermined schedule. In this context, a resource that receives oranalyzes the data, such as a threat management facility, will typicallybe unable to determine in advance an order or schedule of data from eachdata source, except in those cases where a particular data transmissionis scheduled in advance and is transmitted over a reliable communicationchannel.

As shown in step 2804, the method 2800 may include asynchronouslyreceiving contextual threat data, such as any of the contextual threatdata described herein, from a third party service. This may, forexample, include geolocation data retrieved from a third-party servicefor a suspected threat detected on the compute instance, or any othercontextual data. It will be understood that asynchronous contextualthreat data, as described herein, is contextual threat data that is notsynchronized timewise with data form other data sources. The data may bereceived before other data, after other data, during the receipt ofother data, and so forth, and may be received in batches or asindividual events, any and all of which may be published to an eventstream independently of other data sources on a non-predeterminedschedule. In this context, a resource that receives or analyzes thedata, such as a threat management facility, will typically be unable todetermine in advance an order or schedule of data from each data source,except in those cases where a particular data transmission is scheduledin advance and is transmitted over a reliable communication channel.

As shown in step 2806, the method 2800 may include asynchronouslyreceiving cloud resource data, such as any of the cloud resource datadescribed herein, from a cloud service. For example, this may includecloud resource data based on one or more actions associated with thecompute instance at a cloud service supporting one or more cloud-basedapplications for users of the enterprise network, or any other cloudresource data. This may also include data from two or more cloud serviceproviders, each providing cloud resource data asynchronously from oneanother. It will be understood that asynchronous cloud resource data, asdescribed herein, is cloud resource data that is not synchronizedtimewise with data form other data sources. The data may be receivedbefore other data, after other data, during the receipt of other data,and so forth, and may be received in batches or as individual events,any and all of which may be published to an event stream independentlyof other data sources on a non-predetermined schedule. In this context,a resource that receives or analyzes the data, such as a threatmanagement facility, will typically be unable to determine in advance anorder or schedule of data from each data source, except in those caseswhere a particular data transmission is scheduled in advance and istransmitted over a reliable communication channel.

As shown in step 2808, the method 2800 may include, in response toasynchronous data from one of the plurality of sources, incrementallycalculating a composite threat score indicative of a threat risk for thecompute instance based on the threat data. The composite threat scoremay include any of the composite threat scores described herein. In thiscontext, incrementally calculating a composite threat score refers to acalculation (or re-calculation or update) of the composite threat scorein response to one or more items of asynchronous data from any one ofthe plurality of sources. That is, if local threat data such as a threatdetection or threat score is received from a compute instance, thecomposite threat score will be calculated without waiting for otherpotentially relevant information such as associated look ups forsupplemental data (such as geolocation data) from third party sources,or related information from a cloud resource. Instead, the compositethreat score can be calculated immediately with available data, and thenincrementally updated as new items of data from the plurality of sourcesbecome available.

As shown in step 2810, if an incrementally calculated composite threatscore meets a predetermined threshold, additional action may be taken,such as creating an investigation container as shown in step 2814, orotherwise responding to the corresponding potential threat.Alternatively, if the incrementally calculated composite threat scoredoes not meet a predetermined threshold, the method 2800 may proceed to2816 where additional threat data may be received from any one or moreof the data sources.

As shown in step 2814, the method 2800 may include automaticallycreating an investigation container, such as any of the investigationcontainers described herein, when the composite threat score meets apredetermined threshold. The investigation container may be associatedwith a user interface for interactively investigating sources of thecomposite threat score.

Creating the investigation container may include any number ofadditional and/or related steps for assisting a user in investigatingand disposing of an associated threat. For example, the method 2800 mayalso include displaying the composite threat score to a user in the userinterface associated with the investigation container, or otherwisefacilitating investigation and remediation of any related threats. Themethod 2800 may also include creating an alert or notification to a userwhen the composite threat score meets the predetermined threshold, suchas a message containing a link to the investigation container (or a userinterface displaying data from the investigation container).

As shown in step 2816, the method may include updating threat data fromone or more of the plurality of sources. This may include receivingadditional asynchronous data from one of the plurality of sources, andresponsively updating the composite threat score displayed in the userinterface. In another aspect, updating threat data may include updatingdata internally, e.g., with a threat management facility configured toaugment information in the investigation container based on a history ofresponses by other users to a potential threat associated with theinvestigation container, or configured to otherwise augment informationfor the investigation container based on other data available in a datalake or other resource for the enterprise network.

According to the foregoing, there is also disclosed herein a systemincluding a plurality of compute instances associated with an enterprisenetwork, and a threat management facility for the enterprise network.The threat management facility may be configured, e.g., by computerexecutable code, to receive threat data asynchronously from a pluralityof sources, the threat data including at least a local threat indicationfrom a local security agent on a compute instance, the local threatindication identifying a category of malicious activity associated withone or more events detected on the compute instance, geolocation dataretrieved from a third-party service for a suspected threat detected onthe compute instance, and cloud resource data based on an actionassociated with the compute instance at a cloud service supporting oneor more cloud-based applications for users of the enterprise network.The threat management facility may be further configured to respond toasynchronous data from one of the plurality of sources by performing thesteps of incrementally calculating a composite threat score indicativeof a threat risk for the compute instance, creating an investigationcontainer when the composite threat score meets a predeterminedthreshold, displaying the composite threat score in a user interfaceassociated with the investigation container, and updating the compositethreat score in the user interface in response to additionalasynchronous data from one of the plurality of sources.

The above systems, devices, methods, processes, and the like may berealized in hardware, software, or any combination of these suitable fora particular application. The hardware may include a general-purposecomputer and/or dedicated computing device. This includes realization inone or more microprocessors, microcontrollers, embeddedmicrocontrollers, programmable digital signal processors or otherprogrammable devices or processing circuitry, along with internal and/orexternal memory. This may also, or instead, include one or moreapplication specific integrated circuits, programmable gate arrays,programmable array logic components, or any other device or devices thatmay be configured to process electronic signals. It will further beappreciated that a realization of the processes or devices describedabove may include computer-executable code created using a structuredprogramming language such as C, an object oriented programming languagesuch as C++, or any other high-level or low-level programming language(including assembly languages, hardware description languages, anddatabase programming languages and technologies) that may be stored,compiled or interpreted to run on one of the above devices, as well asheterogeneous combinations of processors, processor architectures, orcombinations of different hardware and software. In another aspect, themethods may be embodied in systems that perform the steps thereof, andmay be distributed across devices in a number of ways. At the same time,processing may be distributed across devices such as the various systemsdescribed above, or all of the functionality may be integrated into adedicated, standalone device or other hardware. In another aspect, meansfor performing the steps associated with the processes described abovemay include any of the hardware and/or software described above. Allsuch permutations and combinations are intended to fall within the scopeof the present disclosure.

Embodiments disclosed herein may include computer program productscomprising computer-executable code or computer-usable code that, whenexecuting on one or more computing devices, performs any and/or all ofthe steps thereof. The code may be stored in a non-transitory fashion ina computer memory, which may be a memory from which the program executes(such as random-access memory associated with a processor), or a storagedevice such as a disk drive, flash memory or any other optical,electromagnetic, magnetic, infrared, or other device or combination ofdevices. In another aspect, any of the systems and methods describedabove may be embodied in any suitable transmission or propagation mediumcarrying computer-executable code and/or any inputs or outputs fromsame.

The method steps of the implementations described herein are intended toinclude any suitable method of causing such method steps to beperformed, consistent with the patentability of the following claims,unless a different meaning is expressly provided or otherwise clear fromthe context. So, for example, performing the step of X includes anysuitable method for causing another party such as a remote user, aremote processing resource (e.g., a server or cloud computer) or amachine to perform the step of X. Similarly, performing steps X, Y, andZ may include any method of directing or controlling any combination ofsuch other individuals or resources to perform steps X, Y, and Z toobtain the benefit of such steps. Thus, method steps of theimplementations described herein are intended to include any suitablemethod of causing one or more other parties or entities to perform thesteps, consistent with the patentability of the following claims, unlessa different meaning is expressly provided or otherwise clear from thecontext. Such parties or entities need not be under the direction orcontrol of any other party or entity, and need not be located within aparticular jurisdiction.

It will be appreciated that the methods and systems described above areset forth by way of example and not of limitation. Absent an explicitindication to the contrary, the disclosed steps may be modified,supplemented, omitted, and/or re-ordered without departing from thescope of this disclosure. Numerous variations, additions, omissions, andother modifications will be apparent to one of ordinary skill in theart. In addition, the order or presentation of method steps in thedescription and drawings above is not intended to require this order ofperforming the recited steps unless a particular order is expresslyrequired or otherwise clear from the context. Thus, while particularembodiments have been shown and described, it will be apparent to thoseskilled in the art that various changes and modifications in form anddetails may be made therein without departing from the spirit and scopeof this disclosure and are intended to form a part of the invention asdefined by the following claims, which are to be interpreted in thebroadest sense allowable by law.

What is claimed is:
 1. A computer program product comprising computerexecutable code embodied in a non-transitory computer readable mediumthat, when executing on one or more computing devices, causes the one ormore computing devices to perform the steps of: receiving, at a threatmanagement facility, a local threat indication from a local securityagent executing on a compute instance, the local threat indicationidentifying a category of malicious activity associated with one or moreevents detected on the compute instance; receiving, at the threatmanagement facility, contextual threat data including at leastgeolocation data from a third-party service for a suspected threatdetected on the compute instance; calculating a contextual threat scorefor the compute instance based at least in part on the contextual threatdata; receiving cloud resource data based on an action associated withthe compute instance at a cloud service; determining a composite threatscore indicative of a threat risk for the compute instance based on atleast the local threat indication, the contextual threat score, and thecloud resource data; automatically creating an investigation containerfor investigating activity associated with the composite threat score inresponse to the composite threat score meeting a predeterminedthreshold, the investigation container associated with a user interfacedisplaying one or more threat scores based on the local threatindication, the contextual threat data, and the cloud resource data, theuser interface providing interactive access to supporting data for theone or more threat scores including one or more of the local threatindication, the contextual threat score, and the cloud resource data;and transmitting a notification with a link to the user interfaceassociated with the investigation container to a device associated witha security technician.
 2. The computer program product of claim 1,wherein the composite threat score includes a single score based on atleast the local threat indication, the contextual threat data, and thecloud resource data.
 3. The computer program product of claim 1, whereinthe composite threat score includes a number of scores each individuallybased on one of the local threat indication, the contextual threat data,and the cloud resource data.
 4. The computer program product of claim 1,wherein the cloud service includes one or more of a web application, acloud storage service, an electronic mail application, an authenticationservice, a zero trust network access resource, a network monitorexecuting on a third-party firewall, a cloud computing service, and avirtualization platform.
 5. The computer program product of claim 1,further comprising code that, when executing on the one or morecomputing devices, causes the one or more computing devices to performthe step of incrementally updating information in the investigationcontainer as data from one or more of the compute instance, thethird-party service, and the cloud service becomes available.
 6. Amethod comprising: receiving local threat data from a local securityagent on a compute instance; receiving contextual threat data for alocal threat indication from a third-party service based on the localthreat data received from the compute instance; receiving cloud resourcedata based on an action associated with the compute instance at a cloudservice; determining a composite threat score for the compute instancebased on at least the local threat data, the contextual threat data, andthe cloud resource data; and automatically creating an investigationcontainer for investigating activity associated with the compositethreat score when the composite threat score meets a predeterminedthreshold.
 7. The method of claim 6, further comprising displaying auser interface associated with the investigation container on a deviceassociated with a security technician.
 8. The method of claim 6, furthercomprising transmitting a notification with a link to a user interfaceassociated with the investigation container to a device associated witha security technician.
 9. The method of claim 6, further comprisingdisplaying the composite threat score in a user interface associatedwith the investigation container.
 10. The method of claim 6, furthercomprising displaying the composite threat score in a notification to asecurity technician.
 11. The method of claim 6, further comprisingdisplaying one or more of the local threat indication, the contextualthreat data, and the cloud resource data in a user interface associatedwith the investigation container.
 12. The method of claim 6, furthercomprising providing interactive access, in a user interface associatedwith the investigation container, to supporting data for the compositethreat score.
 13. The method of claim 6, further comprisingincrementally updating information in the investigation container asdata is received from one or more of the compute instance, the cloudservice, and a third party service for geolocation data.
 14. The methodof claim 6, further comprising incrementally updating the compositethreat score as data becomes available from one or more remote sources.15. The method of claim 6, further comprising augmenting information inthe investigation container based on a history of responses by otherusers to a potential threat associated with the investigation container.16. The method of claim 6, further comprising incrementally updating thecomposite threat score based on an evaluation of the compute instance bya threat management facility.
 17. The method of claim 6, wherein thelocal threat data includes a local threat identification for an eventindicative of malicious activity on the compute instance.
 18. The methodof claim 6, wherein the local threat data includes a threat detectionobtained by the local security agent by applying a detection rule basedon at least one of a malware signature and a behavior detected on thecompute instance.
 19. The method of claim 6, wherein the local threatdata includes a classification indicating a category of maliciousactivity associated with events detected on the compute instance.
 20. Asystem comprising: a plurality of compute instances associated with anenterprise network; a threat management facility for the enterprisenetwork, the threat management facility configured to determine acomposite threat score based on: a local threat indication received fromone of the compute instances; cloud resource data based on an actiontaken at a cloud service and associated with the one of the computeinstances; and a contextual score based on geolocation data receivedfrom a remote geolocation service for a suspected threat associated withthe local threat indication; and an administrative console configured toautomatically display a user interface associated with an investigationcontainer when the composite threat score meets a predeterminedthreshold.